1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : 공단건진 예약접수
- * 설 명 :
- * 설 계 자 :
- * 작 성 자 :
- * 작 성 일 :
- * 수정이력 : 2009년 6월 12일
- * 기 타 :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>예약/접수[일반건진]</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <testcdlst>
- <item1>
- <sel/>
- <testcd/>
- <oldordcd/>
- <testnm/>
- <scoreamt/>
- <grupflag/>
- </item1>
- </testcdlst>
- <pkgaddlst>
- <item>
- <sel/>
- <cmpynm/>
- <pkgcd/>
- <pkgnm/>
- <mancnfmamt/>
- <womcnfmamt/>
- <confromdd/>
- <contodd/>
- <conseq/>
- <conhistseq/>
- <pkgflag/>
- <uncocd/>
- <cmpycd/>
- </item>
- </pkgaddlst>
- <list>
- <rsrvlst>
- <pid/>
- <pnm/>
- <sexage/>
- <rsrvdttm/>
- <lastupdtrid/>
- <lastupdtdt/>
- <statflag/>
- <cmpynm/>
- <rsrvdd/>
- <rsrvno/>
- </rsrvlst>
- <acptlst>
- <pid/>
- <pnm/>
- <sexage/>
- <acptflag/>
- <acptdttm/>
- <rsrvdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- <cmpynm/>
- <rsrvdd/>
- <rsrvno/>
- </acptlst>
- <cncllst>
- <pid/>
- <pnm/>
- <sexage/>
- <cncldttm/>
- <lastupdtrid/>
- <lastupdtdt/>
- <cmpynm/>
- <statflag/>
- <rsrvdd/>
- <rsrvno/>
- </cncllst>
- <listinfo>
- <acptcnt/>
- <rsrvcnt/>
- <rcptcnt/>
- <cnclcnt/>
- <holdcnt/>
- <failcnt/>
- </listinfo>
- <sndlst>
- <pid/>
- <pnm/>
- <sexage/>
- <acptdt/>
- <lastupdtrid/>
- <lastupdtdt/>
- <rsrvdd/>
- <rsrvno/>
- </sndlst>
- </list>
- <info>
- <patinfo>
- <item>
- <pid/>
- <rgstno1/>
- <rgstno2/>
- <hngnm/>
- <engnm/>
- <sex/>
- <age/>
- <brthdd/>
- <zipcd11/>
- <zipcd12/>
- <zipcdseq1/>
- <addr1/>
- <detladdr1/>
- <mpphon/>
- <telno/>
- <emailid/>
- <emailtype/>
- <healexampid/>
- <emailkind/>
- <zipcd21/>
- <zipcd22/>
- <zipcdseq2/>
- <addr2/>
- <detladdr2/>
- <psptno/>
- <brthareacnts/>
- <pidcretfg/>
- <patm_insuid/>
- <patm_insukind/>
- <patm_insucd/>
- </item>
- </patinfo>
- <rsrvacptinfo>
- <item>
- <rsrvdd/>
- <rsrvno/>
- <healexamdetlflag/>
- <hopedd/>
- <rsrvtm/>
- <pid/>
- <orddd/>
- <healexampid/>
- <rcptstat/>
- <disccd/>
- <cmpyflag/>
- <cmpycd/>
- <bizoffccd/>
- <deptcd/>
- <clntempid/>
- <entcodd/>
- <jobkindflag/>
- <insucorpbrchcd/>
- <insutrgtflag/>
- <insuflag/>
- <relacd/>
- <plceflag/>
- <scndhptstrgtyn/>
- <oraltestyn>N</oraltestyn>
- <freecncrtrgtyn/>
- <livcncrtrgtyn/>
- <livcncrflag/>
- <stmccncrflag/>
- <stmccncryn/>
- <largeintescncrflag/>
- <largeintescncryn/>
- <mamcncryn/>
- <mamcncrflag/>
- <cervcncrflag/>
- <cervcncryn/>
- <remcnts/>
- <rsrvflag/>
- <rsltcnstflag/>
- <rsltcnstrsrvdd/>
- <jobposcd/>
- <empid/>
- <healcntrcd/>
- <spclhealexamflag/>
- <schlgrde/>
- <clsid/>
- <studid/>
- <medicostyn/>
- <insuclamyn/>
- <judgdrid/>
- <statflag/>
- <calcyn/>
- <pkgcd/>
- <conseq/>
- <pkguncocd/>
- <ownuncoamt/>
- <cmpynm/>
- <bizoffcnm/>
- <deptnm/>
- <healcntrnm/>
- <insucorpbrchnm/>
- <livcncrtrgtyn2/>
- <pkgnm/>
- <EkgYN/>
- <cmpynm/>
- <bizoffcnm/>
- <armyhos/>
- <oldhopedd/>
- <oldrsrvno/>
- <oldhealexamflag/>
- <acpt_insuid/>
- <acpt_insucd/>
- <subscrrrgstno1/>
- <subscrrrgstno2/>
- <subscrhngnm/>
- <ownbamt/>
- <healexamplacecd/>
- <etccd/>
- <dcamt/>
- <adddcamt/>
- <healexamagryn/>
- <canceragryn/>
- <oralagryn/>
- </item>
- <pkglst>
- <sel/>
- <pkgcd/>
- <pkgnm/>
- <rsrvdd/>
- <acptdd/>
- <acpttm/>
- <uncocd/>
- <statflag/>
- <manamt/>
- <womamt/>
- <conseq/>
- <pkgflag/>
- <lastupdtrid/>
- <lastupdtdt/>
- <disccd/>
- <calcscorcd/>
- </pkglst>
- <addlst>
- <sel/>
- <testflag/>
- <testcd/>
- <testnm/>
- <uncocd/>
- <scoreamt/>
- <prcptims/>
- <cmpydiscamt/>
- <examseq/>
- <calcscorcd/>
- <prcpno/>
- <prcpdd/>
- <m/>
- </addlst>
- <historylst/>
- <firstrslt/>
- </rsrvacptinfo>
- <histlst>
- <item>
- <orddd/>
- <pkgcd/>
- <pkgnm/>
- <cmpyflag/>
- <rsrvdd/>
- <rsrvno/>
- <lastupdtrid/>
- <lastupdtdt/>
- </item>
- </histlst>
- <rcptinfo>
- <totamt/>
- <payinsubamt/>
- <payownbamt/>
- <payhealcntramt/>
- <paycmpyamt/>
- <ownbamt/>
- <paydcamt/>
- </rcptinfo>
- <curlst>
- <ordinfo>
- <ordlst>
- <rsrvdd/>
- <rsrvtm/>
- <prcpdd/>
- <testcd/>
- <testnm/>
- <uncocd/>
- <dcflag/>
- <testflag/>
- <prcpexecdeptcd/>
- <lastupdtrid/>
- <lastupdtdt/>
- <prcpno/>
- <execprcpno/>
- <rcptstat/>
- <scoreamt/>
- </ordlst>
- </ordinfo>
- </curlst>
- <judgone>
- <judgcd/>
- <judgdetlcd/>
- <etcdetlnm/>
- <dulppkgcd/>
- </judgone>
- <taginfo>
- <rtime/>
- <tagno/>
- <suppstat/>
- <healexamplacecd/>
- </taginfo>
- <rsltcnstinfo>
- <choicnst>
- <outexamyn>N</outexamyn>
- <rsltcnstflag/>
- <rsltcnstdd/>
- <rsltcnstrsrvstarttm/>
- <rsltcnstrsrvendtm/>
- <rsltcnstremcnts/>
- <rsltrsrvid/>
- </choicnst>
- <cnstlst>
- <cnst>
- <outexamyn>N</outexamyn>
- <rsltcnstflag/>
- <rsltcnstdd/>
- <rsltcnstrsrvstarttm/>
- <rsltcnstrsrvendtm/>
- <rsltcnstremcnts/>
- <rsltrsrvid/>
- <rsltrsrvnm/>
- <rsltrsrvsaveyn/>
- </cnst>
- </cnstlst>
- </rsltcnstinfo>
- </info>
- <prntinfo>
- <prntyn>Y</prntyn>
- <prntlang>K</prntlang>
- </prntinfo>
- <testcdlst>
- <item1>
- <sel/>
- <testcd/>
- <oldordcd/>
- <testnm/>
- <scoreamt/>
- <grupflag/>
- </item1>
- </testcdlst>
- <seqprntdata/>
- <zipcodelist/>
- </main>
- <send>
- <srchrsrvdd/>
- <srchrsrvno/>
- <srchfromdd/>
- <srchtodd/>
- <srchhealexamdetlflag/>
- <srchpid/>
- <srchpnm/>
- <srchpid2/>
- <srchpnm2/>
- <srchinstcd/>
- <srchmode/>
- <srchhealexamflag/>
- <srchpkgcd/>
- <srchcmpycd/>
- <srchconseq/>
- <srchsex/>
- <srchjobflag/>
- <save>
- <instcd/>
- <userid/>
- </save>
- <savercpt>
- <opmi_out/>
- </savercpt>
- <srchorddd/>
- <srchcretno/>
- <selpkgexam>
- <sel/>
- <pkgcd/>
- <testnm/>
- <testcd/>
- <pkgflag/>
- <totpayamt/>
- <payinsubamt/>
- <payownbamt/>
- <payhealcntrbamt/>
- <paycmpybamt/>
- <paydcbamt/>
- <hopedd/>
- <uncocd/>
- <examflag/>
- </selpkgexam>
- <pkgcd/>
- <pkgnm/>
- <exmcd/>
- <exmnm/>
- <prtgubun/>
- <savecmpy/>
- <srchtagno/>
- <srchhealexamplacecd/>
- </send>
- <init>
- <srchmode>4</srchmode>
- <emailkind/>
- <srchhealexamdetlflag/>
- <srchhealexamflag/>
- <baseinfo>
- <healexamdetlflag/>
- <insutrgtflag/>
- <insuflag/>
- <plceflag/>
- <jobkindflag/>
- <spclhealexamflag/>
- <emailkind/>
- <cmpydetlcdlst/>
- <testflag/>
- <statlst/>
- <rsrvflaglst/>
- <ordstatlst/>
- <healexamplacelst/>
- <rsltcnstflaglst/>
- </baseinfo>
- <place>
- <healexamplacecd/>
- </place>
- </init>
- <hidden>
- <save/>
- <item/>
- <saveacpt>
- <rsrvdd/>
- <rsrvno/>
- </saveacpt>
- <cmpyinfodetl/>
- </hidden>
- <source/>
- <temp>
- <addr>
- <zipcd/>
- <addrdetl/>
- </addr>
- <templst/>
- <rcptinfo>
- <hidden/>
- </rcptinfo>
- <cdlst/>
- <acptdtl>
- <addlist/>
- </acptdtl>
- <rcptno_out/>
- <cmpyinfo/>
- <exeinfo/>
- <screencd>SMAHA04030</screencd>
- </temp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
- <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../ast/healthexamrsrvacptweb/js/AHA.js"/>
- <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
- <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
- <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetBaseInfo();
- fSrchDtInit();
- fInitInfo();
- fInitList();
- model.toggle("case_acpt");
- button1.selected= true ;
- fSetBtnStat();
- fGetList();
- model.makeValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag","G01");
- chk_healexamdetlflag.refresh();
- model.removenode("/root/send/selpkgexam");
- ]]>
- </script>
- <submission id="TRZBC00101"/>
- <submission id="TRAHA00001"/>
- <submission id="TRAHA00002"/>
- <submission id="TRAHA00114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tag"/>
- <submission id="TXAHA00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/taginfo" resultref="/root/tag"/>
- <submission id="TRPMC03802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/result"/>
- <submission id="TXAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
- <submission id="TXAHA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/tmp"/>
- <submission id="TRAHA04011" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/patinfo"/>
- <submission id="TRAHA04033" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/info"/>
- <submission id="TRAHA00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
- <submission id="TRAHA00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/pkgtestcdlst"/>
- <submission id="TRAHA00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/pamcdlst"/>
- <submission id="TRAHA00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/info/histlst"/>
- <submission id="TRAHA05101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/cmpyinfo"/>
- <submission id="TXAHA02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptinfo/hidden"/>
- <submission id="TXAHA02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savercpt" replace="instance" resultref="/root/temp/rcptinfo/hidden"/>
- <submission id="TRAHA00701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/info/curlst/ordinfo"/>
- <submission id="TRAHA00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rsrvacptkey"/>
- <submission id="TRAHA00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/cdlst"/>
- <submission id="TRAHA02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/acptdtl"/>
- <submission id="TRAHA02105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptno_out"/>
- <submission id="TXAHA00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden" replace="instance" resultref="/root/tmp"/>
- <submission id="TXAHA00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/tmp" resultref="/root/hidden"/>
- <submission id="TXAHA00903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="root/main/info/rcptinfo"/>
- <submission id="TRAHA00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testcdlst"/>
- <submission id="TXAHA04032" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/tmp"/>
- <submission id="TRAHA00509" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/priceamt" replace="instance" resultref="/root/temp/priceamt"/>
- <submission id="TRAHA00116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/sytsrsrvchk"/>
- <submission id="TRAHA00014" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/test" replace="instance" resultref="/root/tmp"/>
- <submission id="TXAHA00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/rsltsave" replace="instance" resultref="/root/hidden"/>
- <submission id="TRAHA00431" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/pkgaddlst"/>
- <submission id="TRAHA04032" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/send/selpkgexam"/>
- <submission id="TRAHA04012" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/info"/>
- <submission id="TRAHA00013" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/test" replace="instance" resultref="/root/tmp"/>
- <submission id="TRAHB00502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/cmpyinfodetl"/>
- <submission id="TRAHA04034" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/seqprntdata"/>
- <submission id="TXAHA04033" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savecmpy" replace="instance" resultref="/root/temp/exeinfo"/>
- <submission id="TXAHA04034" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/temp/exeinfo"/>
- <submission id="TRZBP00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/zipcodelist"/>
- <submission id="TXAHA00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/tmp"/>
- </model>
- <script type="javascript">
- <![CDATA[
- /**
- *기본정보 가져오기
- */
- function fGetBaseInfo(){
- //일반건진상세구분, 직역구분, 대상구분, 장소구분, 직종구분, 특검구분, EMAIL계정
- zbcfGetCodeList( new Array("A0070","A0108" ,"A0109", "A0110", "A0112" ,"A0111","A0120", "A0117" , "A0107" , "A0115", "M0011"),
- new Array("/root/init/baseinfo/healexamdetlflag" // 일반건진상세구분
- , "/root/init/baseinfo/insutrgtflag" // 직역구분
- , "/root/init/baseinfo/insuflag" // 대상구분
- , "/root/init/baseinfo/plceflag" // 장소구분
- , "/root/init/baseinfo/jobkindflag" //직종구분
- , "/root/init/baseinfo/spclhealexamflag" //특검구분
- , "/root/init/baseinfo/emailkind" //email 계정
- , "/root/init/baseinfo/testflag"
- , "/root/init/baseinfo/statlst"
- , "/root/init/baseinfo/rsrvflaglst"
- ,"/root/init/baseinfo/ordstatlst"
- ) );
- submit("TRZBC00101");
-
- healGetCodeList( new Array("S600")
- , new Array("/root/init/baseinfo/healexamplacelst") );
- model.removenode("/root/init/baseinfo/healexamplacelst/S600[1]");
-
- // submit 방식 모든 공통코드 전체항목이 조회 됨
- healGetCodeListSubmit( new Array("S080")
- , new Array("/root/init/baseinfo/rsltcnstflaglst"), false);
- model.makeValue("/root/send/srchpkgflag", "P");
- model.makeValue("/root/send/srchhealexamflag", "G");
- model.makeValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag","G01");
- model.makeValue("/root/main/info/rsrvacptinfo/item/etccd","F13");
- model.makeValue("/root/main/info/rsrvacptinfo/item/healexamagryn","N");
- model.makeValue("/root/main/info/rsrvacptinfo/item/canceragryn","N");
- model.makeValue("/root/main/info/rsrvacptinfo/item/oralagryn","N");
- model.makeValue("/root/send/srchhealexamdetlflag" , model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag"));
- model.makeValue("/root/send/srchpkgflag", "");
- model.makeValue("/root/send/srchetccd", model.getValue("/root/main/info/rsrvacptinfo/item/etccd"));
-
- submit("TRAHA00431");//프로파일 뛰우기
- submit("TRAHA00109");//검사항목 뛰우기
- model.setValue("/root/send/srchinstcd", getUserInfo("posinstcd") );
-
- submit("TRAHA00104");
- }
- /**
- *입력항목 초기화
- */
- function fInitInfo(){
- model.resetInstanceNode("/root/main/info/patinfo");
- model.makeValue("/root/main/info/rsrvacptinfo/item/healexamflag","G");
- model.resetInstanceNode("/root/send/selpkgexam");
- model.removenode("/root/main/info/judgone");
- fInitRsrvAcptInfo();
- for(var i = 1; i <= model.getXPathValue("count(/root/main/pkgaddlst/item)"); i++) {
- model.setValue("/root/main/pkgaddlst/item[" + i + "]/sel", "N");
- grd_pkglst.isReadOnly(i, grd_pkglst.colRef("sel")) = false;
- }
-
- model.setValue("/root/send/srchrsrvdd","");
- model.setValue("/root/send/srchrsrvno","");
-
- // grd_pkglst.isReadonly(1, grd_pkglst.colRef("sel"), grd_pkglst.rows, grd_pkglst.colRef("sel")) = false;
- // model.refresh();
-
- //fSetBtnStat();
- }
- /**
- * 접수 정보 초기화
- */
- function fInitRsrvAcptInfo(){
- model.resetInstanceNode("/root/main/info/rsrvacptinfo");
- model.resetInstanceNode("/root/main/info/rcptinfo");
- model.resetInstanceNode("/root/main/info/taginfo");
- model.resetInstanceNode("/root/main/info/rsltcnstinfo/cnstlst/cnst");
- model.resetInstanceNode("/root/main/info/rsltcnstinfo/choicnst");
- model.removeNodeset("/root/main/info/rsrvacptinfo/pkglst");
- model.removeNodeset("/root/main/info/rsrvacptinfo/addlst");
- model.removeNodeset("/root/main/info/rsrvacptinfo/histlst");
- model.removeNodeset("/root/main/info/rsrvacptinfo/curlst");
- var curDD = getCurrentDate();
- model.makeValue("/root/main/info/rsrvacptinfo/item/orddd" , curDD );
- model.makeValue("/root/main/info/rsrvacptinfo/item/hopedd" , curDD);
- // model.makeValue("/root/main/info/rsrvacptinfo/item/entcodd" , curDD);
- //cmb_healexamdetlflag.refresh();
- model.makeValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag" , "G01");
- // model.makeValue("/root/main/info/rsrvacptinfo/item/etccd" , "F13");
- // model.setValue( cmb_healexamdetlflag.attribute("ref"), cmb_srchhealexamdetlflag.value );
- model.makeValue("/root/main/info/rsrvacptinfo/item/plceflag" , "2");//내원
- model.makeValue("/root/main/info/rsrvacptinfo/item/insutrgtflag" , "K");//직장
- model.makeValue("/root/main/info/rsrvacptinfo/item/insuflag" , "1");//직장
- model.makeValue("/root/main/info/rsrvacptinfo/item/scndhptstrgtyn" , "N");//2차간염대상
- model.makeValue("/root/main/info/rsrvacptinfo/item/oraltestyn" , "Y");//구강검사대상여부
- model.makeValue("/root/main/info/rsrvacptinfo/item/freecncrtrgtyn" , "N");//무료암대상여부
- model.makeValue("/root/main/info/rsrvacptinfo/item/livcncrtrgtyn" , "N");//간암검사대상여부
- model.makeValue("/root/main/info/rsrvacptinfo/item/livcncrtrgtyn" , "N");//간암검사대상여부
- if(model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag")=="G05"){
- model.makeValue("/root/main/info/rsrvacptinfo/item/pkguncocd" , "V01");//청구구분 -개인
- }else{
- model.makeValue("/root/main/info/rsrvacptinfo/item/pkguncocd" , "V03");//청구구분 -공단
- }
- model.makeValue("/root/main/info/rsrvacptinfo/item/cmpyflag" , "N"); //청구구분 -공단
- model.makeValue("/root/main/info/rsrvacptinfo/item/disccd" , "-");//할인코드
- model.makeValue("/root/main/info/rsrvacptinfo/item/rsrvflag" , "01");//예약구분
- model.makeValue("/root/main/info/rsrvacptinfo/item/etccd" , "F13"); //선택 패키지 구분
- model.makeValue( rdo_outexamyn.attribute("ref") , "N");
-
- model.makeValue("/root/main/info/rsrvacptinfo/item/healexamagryn","N");
- model.makeValue("/root/main/info/rsrvacptinfo/item/canceragryn","N");
- model.makeValue("/root/main/info/rsrvacptinfo/item/oralagryn","N");
-
- rdo_outexamyn.dispatch("xforms-value-changed");
- btn_tag.attribute("text") = "태그지급";
- ipt_tagno.disabled = false;
- btn_fstjudg.dispatch("DOMActivate");
-
- rdo_healexamplacecd.refresh();
- if(rdo_healexamplacecd.value != "" ) {
- rdo_healexamplacecd.dispatch("xforms-select"); // 건진장소 default 셋팅
- }else {
- var sFlag=fGetHealExamPlaceFlag();
- if (sFlag == "G" ) {
- rdo_healexamplacecd.select(0);
- chk_healexamdetlflag.select(0);
- } else {
- rdo_healexamplacecd.select(1);
- chk_healexamdetlflag.select(1);
- }
- }
- // model.setValue(rdo_insutrgtflag.attribute("ref") , "K"); //직장
- // model.setValue(cmb_insuflag.attribute("ref") , "1"); //직장
- // model.setValue(rdo_scndhptstrgtyn.attribute("ref") , "N"); //2차간염대상
- // model.setValue(rdo_oraltestyn.attribute("ref") , "Y"); //구강검사대상여부
- // model.setValue(rdo_freecncrtrgtyn.attribute("ref") , "N"); //무료암대상여부
- // model.setValue(rdo_livcncrtrgtyn.attribute("ref") , "N"); //간암검사대상여부
- // model.setValue(cmb_uncocd.attribute("ref") , "V03"); //청구구분 -공단
- // model.setValue(cmb_disccd.attribute("ref") , "-"); //할인코드
- // model.setValue(cmb_rsrvflag.attribute("ref") , "01"); //예약구분
- // model.setValue("/root/main/info/rsrvacptinfo/item/cmpyflag" , "N"); //청구구분 -공단
- // model.toggle("case_pkg");
- // btn_pkglst.selected= true;
- // model.setFocus("ipt_rgstno1");
- model.makeValue("/root/main/info/rsrvacptinfo/item/healexamflag","G");
- }
- //예약시간 선택
- function fGetRsrvDateTime(vMode, rsrvddObj, rsrvtmObj){
- setParameter ("SPAHA00100_PARAM1", vMode);
- setParameter ("SPAHA00100_PARAM2", ipt_rsrvdd.value );
- setParameter ("SPAHA00100_PARAM3", opt_sex.value );
- if( rsrvddObj != null ) setParameter ("SPAHA00100_PARAM4", rsrvddObj.attribute("ref") );
- if( rsrvtmObj != null ) setParameter ("SPAHA00100_PARAM5", rsrvtmObj.attribute("ref") );
- setParameter ("SPAHA00100_PARAM6", "G" );
- setParameter ("SPAHA00100_PARAM7", "/root/main/info/rsrvacptinfo/item/rsltcnstdrid" );
- // 건진상세구분 추가 (손범성 추가)
- var idate = model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag");
- idate = idate.substr(0,3);
- setParameter ("SPAHA00100_PARAM8", idate);
- modal("SPAHA00100", "", "", "", "SPAHA00100", "/root/source","/root/target");
- }
- /**
- *조회List초기회
- */
- function fInitList(){
- model.removeNodeset("/root/main/list/rsrvlst");
- model.removeNodeset("/root/main/list/acptlst");
- model.removeNodeset("/root/main/list/cncllst");
- model.removeNodeset("/root/main/list/sndlst");
- model.resetInstanceNode("/root/main/list/listinfo");
- }
- /**
- *조회Date초기화
- */
- function fSrchDtInit(){
- var curDD = getCurrentDate();770925
- model.setValue(ipt_srchfromdd.attribute("ref") , curDD );
- model.setValue(ipt_srchtodd.attribute("ref") , curDD );
- model.setValue(cmb_srchhealexamdetlflag.attribute("ref") , "G01");
- // model.setValue(cmb_healexamdetlflag.attribute("ref") , "G01");
- }
- function fSaveRsrvInfo(){
- if( messageBox("건진예약정보를 ", "Q002") != 6 ) return ;
-
- var vHealExamFg = model.getValue("/root/main/info/rsrvacptinfo/item/healexamflag") == "" ? fGetHealExamFlag() : model.getValue("/root/main/info/rsrvacptinfo/item/healexamflag");
- var vRsrvdd = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd");
- var vRsrvno = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno");
- var vStatFlag = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
- var vPid = model.getValue("/root/main/info/rsrvacptinfo/item/pid");
- var vHealExamDetlFg = model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag");
- var vCretno = model.getValue("/root/main/info/rsrvacptinfo/item/cretno");
- var vRsltcnstremcnts = model.getValue("/root/main/info/rsltcnstinfo/choicnst/rsltcnstremcnts");
- var nodeList = null;
-
- if( (vHealExamFg == "") || (vRsrvdd == "") || (vRsrvno == "") || (vRsrvno == "0") ) {
- messageBox("건진내역을 저장", "E001");
- return ;
- }
-
- nodeList = instance1.selectNodes("/root/main/info/rsltcnstinfo/cnstlst/cnst[rsltrsrvsaveyn='N']");
- if(nodeList.length < 1 ) {
- messageBox("결과상담내역이 ", "I004");
- return ;
- }
- var rCSV = getNodeListCSV(nodeList);
- model.makeNode("/root/send/save/rsltsave");
- model.resetInstanceNode("/root/send/save/rsltsave");
- model.makeValue("/root/send/save/rsltsave/healexamflag" , vHealExamFg);
- model.makeValue("/root/send/save/rsltsave/rsrvdd" , vRsrvdd);
- model.makeValue("/root/send/save/rsltsave/rsrvno" , vRsrvno);
- model.makeValue("/root/send/save/rsltsave/rsltcnstremcnts" , vRsltcnstremcnts);
-
- model.makeValue("/root/send/save/rsltsave/healexamdetlflag" ,vHealExamDetlFg );
- //건진장소구분에 의한 예약건진상세구분 세팅
- model.makeValue("/root/send/save/rsltsave/rsrvdetlflag" , vHealExamDetlFg );
-
- model.makeValue("/root/send/save/rsltsave/rsltrsrv" , rCSV);
-
- if( submit("TXAHA00104") == true ){
- ahafGetGnrlRsrvAcpDetltInfo(vRsrvdd, vRsrvno, vStatFlag, vPid);
- for(var i = 1; i <= model.getXPathValue("count(/root/main/info/rsrvacptinfo/addlst)"); i++) {
- model.makeNode("/root/send/selpkgexam[" + i + "]");
- model.copyNode("/root/send/selpkgexam[" + i + "]", "/root/main/info/rsrvacptinfo/addlst[" + i + "]");
- }
- datagrid6.rebuild();
- fInsuCnts();
- setGnrlCmpyInfo();
- fSetReCalcAmt();
- fInitPkgList();
- model.refresh();
- }
- }
- function fOperGrdRow(bAdd){
- var swt_idx = swt_acptlst.selectedIndex ;
- switch(swt_idx) {
- case 0:
- if( bAdd ) {
- grd_pkglst.addRow();
- grd_pkglst.valueMatrix(grd_pkglst.row, 1) = "Y";
- grd_pkglst.col = 2;
- grd_pkglst.editCell();
- }
- else grd_pkglst.addStatus(grd_pkglst.row,"delete");
- break;
- case 1 :
- if( bAdd ) {
- grd_addlst.addRow();
- grd_addlst.valueMatrix(grd_addlst.row, 1) = "Y";
- grd_addlst.col = 2;
- grd_addlst.editCell();
- }
- else grd_addlst.addStatus(grd_addlst.row,"delete");
- break;
- case 2 :
- if( bAdd ) {
- grd_curlst.addRow();
- grd_curlst.editCell();
- }
- else grd_curlst.addStatus(grd_curlst.row,"delete");
- break;
- default:
- break;
- }
- }
- /**
- * 업체별 영업소 및 부서정보 조회
- */ function fGetCmpyDetlCdList(){
- if( ipt_cmpycd.value == "" ) return ;
- var hopeDD = model.getValue("/root/main/info/rsrvacptinfo/item/hopedd");
- var appYear = "";
- if(hopeDD == "") {
- appYear = fGetCurrentYear();
- }else {
- appYear = hopeDD.substr(0 , 4);
- }
- fCheckNodeExist("/root/send/srchcmpycd", true);
- model.setValue("/root/send/srchcmpycd", ipt_cmpycd.value );
- model.makeValue("/root/send/srchappyear" , appYear);
- return submit("TRAHA05101");
- }
- /**
- * 검사 및 패키지 코드
- */
- function fAddSingleTestCd(){
- var idx = 0;
- var sDest = "";
- var swt_idx = swt_acptlst.selectedIndex ;
- var sCond = "";
- switch( swt_idx){
- case 0:
- idx = grd_pkglst.row ;
- sDest = grd_pkglst.attribute("nodeset") + "[" + idx + "]" ;
- sCond = grd_pkglst.valueMatrix(idx, 2);
- break;
- case 1:
- idx = grd_addlst.row ;
- sDest = grd_addlst.attribute("nodeset") + "[" + idx + "]" ;
- sCond = grd_addlst.valueMatrix(idx, 2);
- break;
- default :
- return ;
- break;
- }
- if( idx < 1) return ;
- fGetPkgCd("SMAHA01500", "P", "N","nm" , sCond, cmb_healexamdetlflag.value, opt_sex.value, sDest );
- }
- /**
- * 패키지리스트 초기화
- */
- function fInitPkgList(){
- model.makeValue("/root/send/srchpkgflag", "");
- model.makeValue("/root/send/srchhealexamflag", "G");
- model.makeValue("/root/send/srchhealexamdetlflag" , model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag"));
- model.makeValue("/root/send/srchetccd" , "F13");
- model.makeValue("/root/main/info/rsrvacptinfo/item/etccd" , "F13")
- submit("TRAHA00431");
- for (i = 1; i <= grd_pkglst.rows ; i++){
- grd_pkglst.isReadOnly(i, grd_pkglst.colRef("sel")) = false;
- for (j=1 ; j<grd_addlst.rows ; j++) {
- if (grd_addlst.valueMatrix(j,grd_addlst.colRef("pkgcd")) == grd_pkglst.valueMatrix(i,grd_pkglst.colRef("pkgcd"))){
- grd_pkglst.valueMatrix(i,grd_pkglst.colRef("sel")) = "Y";
- grd_pkglst.isReadOnly(i, grd_pkglst.colRef("sel")) = true;
- }
- }
- }
- }
- /**
- * 예약/접수/취소/보류 리스트 조회 .
- */
- function fGetList(){
- fInitList();
- fsetDgFlag();
- if( isXPathTextNull( "/root/send/srchhealexamdetlflag") ||
- isXPathTextNull( "/root/send/srchtodd") ||
- isXPathTextNull( "/root/send/srchfromdd")) return ;
- model.setValue("/root/send/srchhealexamflag", "G");
- var vMode = fGetGnrlSrchMode();
- if( vMode == "") return ;
- model.setValue("/root/send/srchmode", vMode );
- model.setValue("/root/send/srchinstcd", getUserInfo("posinstcd") );
- openLoadingBar("건진자 리스트를 가져오는 중입니다..") ;//처리중 화면을 오픈한다.
- submit("TRAHA00103");
- closeLoadingBar() ;//처리중 화면을 close한다.
- var sel = swt_acptlst.selectedIndex;
- switch(sel) {
- case 2 : fSetRsrvBackGroud(grd_acptlst); break;
- default : break;
- }
- }
-
- function fSetRsrvBackGroud(vGrd) {
- vGrd.rebuildStyle(); // 스타일 초기화
- for(var i=1; i <= vGrd.rows; i++) {
- var rcptstatyn = vGrd.valueMatrix( i , vGrd.colRef("rcptstatyn"));
-
- if(rcptstatyn == "N") {
- vGrd.rowStyle( i , "data", "background-color") = "#ccffcc";
- }
- }
- }
- /**
- * 예약접수 건진자 리스트 조회 모드 설정
- * 예약1/예약등록2/접수3/취소4~6/2차대상자 8
- */
- function fGetGnrlSrchMode(){
- var idx = swt_acptlst.selectedIndex ;
- if(idx == 3){
- idx= 2 ;
- }
- idx++;
- return idx;
- }
- function setAmt(i)
- {
- var healcureflag = model.getValue("/root/main/info/rsrvacptinfo/item/acpt_insuid");
- var examflag = model.getValue("/root/send/selpkgexam[" + i +"]/examflag");
- healcureflag = healcureflag.substr(0, 1);
- //의료수급권자일 경우 100% 보건소 부담
- if(healcureflag == 9 && (examflag == "G003" || examflag == "G004" || examflag == "G005" || examflag == "G006" || examflag == "G007"))
- {
- model.makeValue("/root/send/selpkgexam["+i+"]/uncocd", "V05");
- model.makeValue("/root/send/selpkgexam["+i+"]/payhealcntrbamt", model.getValue("/root/send/selpkgexam[" +i+ "]/totpayamt"));
- return;
- }
- //일반건진이나 생애건진은 공단부담
- if( examflag == "G001" || examflag == "G002" || examflag == "G100" )
- {
- model.makeValue("/root/send/selpkgexam["+i+"]/uncocd", "V03");
- model.makeValue("/root/send/selpkgexam["+i+"]/payinsubamt", model.getValue("/root/send/selpkgexam[" +i+ "]/totpayamt"));
- return;
- }
- //암별로 노드 정의
- var cancerNode = "";
-
- if(examflag == "G003")
- {
- cancerNode = "/root/main/info/rsrvacptinfo/item/stmccncrflag";
- }
- if(examflag == "G004")
- {
- cancerNode = "/root/main/info/rsrvacptinfo/item/largeintescncrflag";
- }
- if(examflag == "G005")
- {
- cancerNode = "/root/main/info/rsrvacptinfo/item/livcncrflag";
- }
- if(examflag == "G006")
- {
- cancerNode = "/root/main/info/rsrvacptinfo/item/mamcncrflag";
- }
-
- //자궁경부암일 경우 100% 공단부담
- if(model.getValue("/root/main/info/rsrvacptinfo/item/cervcncrflag") != "1" && examflag == "G007") //자궁경부암
- {
- model.makeValue("/root/send/selpkgexam["+i+"]/uncocd", "V11");
- model.makeValue("/root/send/selpkgexam["+i+"]/payinsubamt", model.getValue("/root/send/selpkgexam[" +i+ "]/totpayamt"));
- model.makeValue("/root/send/selpkgexam["+i+"]/payownbamt", 0);
- return;
- }
-
-
- //본인부담 100%
- if(model.getValue(cancerNode) == 1)
- {
- model.makeValue("/root/send/selpkgexam["+i+"]/payownbamt", parseInt(model.getValue("/root/send/selpkgexam[" +i+ "]/totpayamt")));
- model.makeValue("/root/send/selpkgexam["+i+"]/uncocd", "V01");
- return;
- }
-
- //본인부담 10%
- if(model.getValue(cancerNode) == 2)
- {
- model.makeValue("/root/send/selpkgexam["+i+"]/payinsubamt", parseInt(model.getValue("/root/send/selpkgexam[" +i+ "]/totpayamt")) * 0.9);
- model.makeValue("/root/send/selpkgexam["+i+"]/payownbamt", parseInt(model.getValue("/root/send/selpkgexam[" +i+ "]/totpayamt")) * 0.1);
- model.makeValue("/root/send/selpkgexam["+i+"]/uncocd", "V11");
- return;
- }
- //공단부담 100%
- if(model.getValue(cancerNode) == 3)
- {
- model.makeValue("/root/send/selpkgexam["+i+"]/payinsubamt", parseInt(model.getValue("/root/send/selpkgexam[" +i+ "]/totpayamt")));
- model.makeValue("/root/send/selpkgexam["+i+"]/uncocd", "V11");
- return;
- }
-
- //공단부담 90% + 보건소부담 10%
- if(model.getValue(cancerNode) == 4)
- {
- model.makeValue("/root/send/selpkgexam["+i+"]/payinsubamt", parseInt(model.getValue("/root/send/selpkgexam[" +i+ "]/totpayamt")) * 0.9);
- model.makeValue("/root/send/selpkgexam["+i+"]/payhealcntrbamt", parseInt(model.getValue("/root/send/selpkgexam[" +i+ "]/totpayamt")) * 0.1);
- model.makeValue("/root/send/selpkgexam["+i+"]/uncocd", "V11");
- return;
- }
-
- //if(parseInt(model.getValue("/root/main/info/patinfo/item/age")) == 40)
- //{
- // model.makeValue("/root/send/selpkgexam["+i+"]/uncocd", "V01");
- // model.makeValue("/root/send/selpkgexam["+i+"]/payinsubamt", model.getValue("/root/send/selpkgexam[" +i+ "]/totpayamt"));
- // return;
- //}
- //else
- //{
- model.makeValue("/root/send/selpkgexam["+i+"]/uncocd", "V01");
- model.makeValue("/root/send/selpkgexam["+i+"]/payownbamt", parseInt(model.getValue("/root/send/selpkgexam[" +i+ "]/totpayamt")));
- //}
- }
-
- function fSetGnrlAddList(vGrdObj, vTestCdCol, vSrcXPath, vDupCheck, vPkgYN , vPkgCd) {
- if( model.getValue("/root/temp/okflag") != "ok" ) return ;
- if( vGrdObj == null ) return ;
- if( vSrcXPath == "" ) return ;
- var cnt = getNodesetCount(vSrcXPath);
- var grdcnt = vGrdObj.rows;
- var vTestcd = "";
- var vTestnm = "";
- var i = 0;
- if( vPkgYN == "Y" ){
- for( i = 1 ; i <= cnt ; i++ ){
- vTestcd = model.getValue(vSrcXPath + "[" + i + "]/pkgcd" );
- vTestnm = model.getValue(vSrcXPath + "[" + i + "]/pkgnm" );
- if( vDupCheck == "Y" ) {
- if( fCheckDup(vGrdObj , vTestCdCol, vTestcd ) == false ){
- if( messageBox("중복되는 Pkg코드[" + vTestcd + " - " + vTestnm +"] 를 추가 ", "S001") != 6 ){
- continue ;
- }
- }
- }
- var danga = model.getValue(vSrcXPath + "[" + i + "]/scoreamt" );
- if(model.getValue("/root/main/info/rsrvacptinfo/item/cmpyflag") == "Y") {
- danga = parseInt(parseFloat(danga)* 0.1)*10;
- }else {
- danga = danga;
- }
- vGrdObj.addRow();
- model.makeNode(vGrdObj.nodeset + "[" + grdcnt + "]/sel");
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/sel" , "Y" );
- model.makeNode(vGrdObj.nodeset + "[" + grdcnt + "]/pkgflag");
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/pkgflag" , "A" );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/pkgcd" , vTestcd );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/pkgnm" ,vTestnm );
- model.makeNode(vGrdObj.nodeset + "[" + grdcnt + "]/uncocd" );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/uncocd" , "V03" );
- model.makeNode(vGrdObj.nodeset + "[" + grdcnt + "]/scoreamt" );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/scoreamt" ,danga);
- model.makeNode(vGrdObj.nodeset + "[" + grdcnt + "]/addtotamt" );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/addtotamt" ,danga);
- model.makeNode(vGrdObj.nodeset + "[" + grdcnt + "]/calcscorcd" );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/calcscorcd" ,model.getValue(vSrcXPath + "[" + i + "]/calcscorcd" ) );
-
-
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/payownbamt" , 0 );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/totpayamt" , danga );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/payinsubamt" ,0 );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/payhealcntrbamt" ,0 );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/paycmpybamt" ,danga );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/paydcbamt" ,0 );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/testdiscyn" ,model.getValue(vSrcXPath + "[" + i + "]/testdiscyn" ) );
- grdcnt++;
- }
-
- } else {
- for( i = 1 ; i <= cnt ; i++ ){
- vTestcd = model.getValue(vSrcXPath + "[" + i + "]/testcd" );
- vTestnm = model.getValue(vSrcXPath + "[" + i + "]/testnm" );
- if( vDupCheck == "Y" ) {
- if( fCheckDup(vGrdObj , vTestCdCol, vTestcd ) == false ){
- if( messageBox("중복되는 검사코드[" + vTestcd + " - " + vTestnm +"] 를 추가 ", "S001") != 6 ){
- continue ;
- }
- }
- }
- var danga = model.getValue(vSrcXPath + "[" + i + "]/scoreamt" );
- if(model.getValue("/root/main/info/rsrvacptinfo/item/cmpyflag") == "Y") {
- danga = parseInt(parseFloat(danga)* 0.1)*10;
- }else {
- danga = danga;
- }
- vGrdObj.addRow();
- model.makeNode(vGrdObj.nodeset + "[" + grdcnt + "]/sel");
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/sel" , "Y" );
-
- model.makeNode(vGrdObj.nodeset + "[" + grdcnt + "]/pkgflag");
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/pkgflag" , "A" );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/testcd" , vTestcd );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/pkgnm" , vTestnm );
-
- model.makeNode(vGrdObj.nodeset + "[" + grdcnt + "]/uncocd" );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/uncocd" , "V01" );
-
- model.makeNode(vGrdObj.nodeset + "[" + grdcnt + "]/scoreamt" );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/scoreamt" ,danga );
-
- model.makeNode(vGrdObj.nodeset + "[" + grdcnt + "]/addtotamt" );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/addtotamt" ,danga );
-
- model.makeNode(vGrdObj.nodeset + "[" + grdcnt + "]/calcscorcd" );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/calcscorcd",model.getValue(vSrcXPath + "[" + i + "]/calcscorcd" ) );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/prcptims", "1" );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/prcpdayno", "1" );
-
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/payownbamt" , danga );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/totpayamt" , danga );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/payinsubamt" ,0 );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/payhealcntrbamt" ,0 );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/paycmpybamt" ,0 );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/paydcbamt" ,0 );
- model.makeValue(vGrdObj.nodeset + "[" + grdcnt + "]/testdiscyn",model.getValue(vSrcXPath + "[" + i + "]/testdiscyn" ) );
-
- //묵음처방 구분 추가 (2007.10.11 BY 손주연 )
- model.makeNode(vGrdObj.nodeset + "[" + grdcnt + "]/grupflag" );
- model.setValue(vGrdObj.nodeset + "[" + grdcnt + "]/grupflag" ,model.getValue(vSrcXPath + "[" + i + "]/grupflag" ) );
- grdcnt++;
- }
- }
- /*
- * 패키지 내부검사 중복여부 체크
- */
- model.removeNodeSet("/root/send/test");
- // for( i = 1; i <= vGrdObj.rows ; i++)
- if(vGrdObj.rows >= 2){
- for( i = 1; i <= vGrdObj.rows - 1 ; i++)// 고정행까지 추가하는거같아서 -1 했음.
- {
- model.makeValue("/root/send/test[" + i +"]/pkgcd" , model.getValue(vGrdObj.nodeset + "[" + i + "]/testcd"));
- model.makeValue("/root/send/test[" + i +"]/grupflag" , model.getValue(vGrdObj.nodeset + "[" + i + "]/grupflag"));
- }
- if(vPkgCd != "") { model.makeValue("/root/send/test/srchpkgcd" , vPkgCd);}
- if(vPkgCd != "") { model.makeValue("/root/send/test/healexamflag" , fGetHealExamFlag());}
- model.removeNodeSet("/root/send/testcount");
- submit("TRAHA00013",false);//패키지내 중복 체크*/
- }
- var testnm ="";
- var testnmcount ="";
- var cnt = getNodesetCount("/root/tmp/testcount/testcount");
- if (cnt != 0)
- {
- for (var i=0;i <=cnt ; i++)
- {
- testnm = model.getValue("/root/tmp/testcount/testcount["+i+"]/testnm");
- if (testnm!="")
- {
- testnmcount = testnmcount + testnm + "/";
- }
- }
- messageBox(testnmcount + " 검사가 중복되었습니다","E999");
- }
- model.refresh();
- }
- /**
- * 예약/접수정보를 저장
- * Mode : 공통코드A0107참조
- **A 예약
- **B 예약보류
- **C 예약확인
- **D 예약취소
- **E 접수
- **F 접수취소
- **G 결과
- **H 판정
- */
- /**
- * 예약/접수정보 check.
- */
- function fCheckAcpt(vMode){
- var vRsvdd = "";
- var vStatus = model.getValue("/main/info/rsrvacptinfo/item/status");
- var vHealExamFlag = fGetHealExamFlag();
- var age = model.getValue(opt_age.attribute("ref") ) ;
- /* if( (age == "16") || (age == "44") || (age == "66") ){
- if(messageBox("생애전환기건진 대상자 입니다!\n정보를 ", "Q002" ) !== 6) return false;
- }
- */
- /* if( model.getValue( cmb_uncocd.attribute("ref") ) == "" ){
- messageBox(" 청구방법을 ", "C001") ;
- model.setFocus("cmb_uncocd");
- return false;
- }*/
- //예약의 경우 예약일 입력 필수
- if( vStatus == "C" ) {
- if( !isRequiredGroup("ipt_rsrvdd") ) return false;
- vRsvdd = model.getValue("/root/main/info/rsrvacptinfo/item/hopedd");
- vRsvdd = vRsvdd.toDate("YYYYMMDD");
- if( vRsvdd < getCurrentDate() ){
- messageBox("예약일자가 현재일자 전으로 ", "E005");
- model.setFocus("ipt_rsrvdd");
- return false;
- }
- }
- //접수
- else
- if( vMode == "E" ){
- var i = 0;
- var cnt = 0;
- var selrows = 0;/*grd_pkglst.rows;
- var selrows = 0;
- for( i = 1; i < cnt ; i++){
- if( grd_pkglst.valueMatrix(i, 1) == "Y" ) selrows++;
- }
- */
- /*grd_pkglst.getUpdateData();
- if( (selrows < 1) || (vData == "" )) {
- alert(" 패키지를 입력하세요.");
- return false;
- } */
- //직역구분
- /* if( rdo_insutrgtflag.value == "" ) {
- messageBox(" 직역구분을 ", "C002") ;
- return false ;
- }
- //대상
- if( cmb_insuflag.value == "" ) {
- messageBox(" 대상구분을 ", "C002") ;
- return false ;
- }
- var freecncryn = rdo_freecncrtrgtyn.value;
- if( freecncryn == "Y" ){
- if( ipt_healcntrcd.value == "" ) {
- messageBox("무료암 대상자입니다.\r\n관할 보건소를 ", "C001");
- model.setFocus("ipt_healcntrcd");
- return false;
- }
- } */
- }
- /* if( ipt_insuid.value = "" ) {
- alert("증번호를 입력하세요");
- model.setFocus("ipt_insuid");
- return false ;
- }*/
- return true;
- }
- /**
- * 버튼 상태 변경
- */
- function fSetBtnStat(){
- btn_rsrvcfm.disabled = true;
- btn_acpt.disabled = true;
- // btn_rcpt.disabled = false;
- btn_acptcncl.disabled = true;
- btn_rsrvcncl.disabled = true;
- rdo_outexamyn.disabled = false;
- cmb_rsltcnstflag.disabled = false;
- btn_rsltcnstrsrv.disabled = false;
- var vStat = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
- if ( vStat == "C" ){ //예약
- btn_rsrvcncl.disabled = false;
- btn_rsrvcfm.disabled = false;
- btn_acpt.disabled = false;
- }
- else
- if( vStat == "D"){ //예약취소
- btn_rsrvcncl.disabled = true;
- btn_rsrvcfm.disabled = false;
- btn_acpt.disabled = false;
- }
- else
- if( vStat == "E" ){//접수
- btn_acptcncl.disabled = false;
- btn_acpt.disabled = false;
- }
- else
- if( vStat == "F" ){ //접수취소
- btn_rsrvcfm.disabled = false;
- btn_acpt.disabled = false;
- }
- else {
- btn_rsrvcfm.disabled = false;
- btn_acpt.disabled = false;
- }
- model.refresh();
- }
- function fPrntChrt(){
- // var pkgcd = ipt_pkgcd.value;
- var pkgcd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
- if( pkgcd !="") {
- pkgcd = pkgcd.substr(4,1);
- if( pkgcd == "1" ){
- exeReportPreview("RPAHA01501", "XMLSTR" , "" , "" , "false" , "", "", "", "", "true");
- }
- else
- if( pkgcd == "2" ) {
- // exeReportPreview("RPAHR00310", "XMLSTR", "", "", "false","","","","","true", "", "");
- exeReportPreview("RPAHA01502", "XMLSTR" , "" , "" , "false" , "", "", "", "", "true");
- }
- }
- }
- /**
- * 증번호 11자리수중 첫 자리가 1~4 : 지역(J), 5~6 : 공.교(G), 7~8 직장(K)
- */ function fSetInsuTrgtFg(){
- var insuid = ipt_insuid.value;
- if( insuid != "" ) {
- insuid = insuid.substr(0,1);
- if( (insuid == "5" ) || (insuid == "6") ) insuid = "G";
- else
- if( (insuid == "7" ) || (insuid == "8") ) insuid = "K";
- else insuid = "J";
- rdo_insutrgtflag.value = insuid;
- }
- }
- /**
- * 무료암대상일 경우 관할 보건소 입력 필수
- * 비대상일 경우 무료암구분 disable
- * 대상구분 check 필요. 나이에따라 다름.
- * 위암검사 :만 40세이상인 자로서 희망자
- * 유방암검사 :만 40세이상인 여성희망자
- * 대장암검사 :만 50세이상인 자로서 희망자
- * 간암검사 :○ 당해연도전 2년간 2차검진결과 간장
- 질환 유질환자 및 간암발생고위험군
- 중 만40세 이상의 희망자
- ○ 당해연도 2차검진결과 간장질환 유질환자 중 만40세 미만의 희망자
- - 이 경우 간초음파 검사만 실시
- * 자궁경부암검사 :만 30세 이상인 여성희망자
- */ function fSetCncrCtrl(){
- /* chx_stmccncryn.disabled = true;
- chx_largeintescncryn.disabled = true;
- chx_livcncrtrgtyn.disabled = true;
- chx_mamcncryn.disabled = true;
- chx_cervcncryn.disabled = true;
- var freecncryn = rdo_freecncrtrgtyn.value;
- if( freecncryn == "N" ){
- return ;
- }
- chx_stmccncryn.disabled = false;
- chx_largeintescncryn.disabled = false;
- chx_livcncrtrgtyn.disabled = false;
- chx_mamcncryn.disabled = false;
- chx_cervcncryn.disabled = false; */
- }
- function fCheckFreeCncrTrgt(vMode) {
- var freecncryn = rdo_freecncrtrgtyn.value;
- if( freecncryn == "Y" ){
- var sex = opt_sex.value;
- var age = 0;
- if( opt_age.value != "" ) age = parseInt(opt_age.value);
- //위암검사 :만 40세이상인 자로서 희망자
- switch (vMode) {
- case 1:
- if( chx_stmccncryn.value == "Y" ){
- if( age < 40 ) {
- messageBox("위암검사는 만 40세이상인 자로서 희망자에 한합니다." , "E999");
- return false ;
- }
- model.setValue(cmb_stmccncrflag.attribute("ref"), "V12" );
- cmb_stmccncrflag.refresh();
- }
- case 2:
- if( chx_mamcncryn.value == "Y" ) {
- if( ( sex != "F" ) || ( (sex == "F" ) && (age < 40) ) ) {
- messageBox("유방암은 만 40세이상인 여성희망자에 한합니다." , "E999");
- return false ;
- }
- model.setValue(cmb_mamcncrflag.attribute("ref"), "V12" );
- cmb_mamcncrflag.refresh();
- }
- break;
- case 3:
- //대장암검사 :만 50세이상인 자로서 희망자
- if( (chx_largeintescncryn.value == "Y" )&& ( age < 50 ) ){
- messageBox("대장암검사는 만 50세이상인 자로서 희망자에 한합니다." , "E999");
- return false;
- model.setValue(cmb_mamcncrflag.attribute("ref"), "V12" );
- cmb_mamcncrflag.refresh();
- }
- break;
- case 4:
- //자궁경부암 : 만 30세이상인 여성희망자
- if( (chx_cervcncryn.value == "Y") &&
- ( (sex != "F" ) || ( (sex == "F") && ( age < 30 ) ) ) ) {
- alert("자궁경부암은 만 30세이상인 여성희망자에 한합니다.");
- return false;
- model.setValue(cmb_cervcncrflag.attribute("ref"), "V12" );
- cmb_cervcncrflag.refresh();
- }
- break;
- default :
- break;
- }
- }
- return true;
- }
- /**
- * 건진내역 계산
- 건진구분 :srchhealexamflag
- 예약일자 :srchrsrvdd
- 예약번호 :srchrsrvno
- 등록번호 :srchpid
- 기관코드 :srchinstcd
- */ function fCalcAmt(vJobFlag){
- var ret = -1;
- // var vTmp = fGetHealExamFlag();
- var vTmp = "G";
- model.copyNode("/root/main/info/rsrvacptinfo/item","/root/tmp/reqacpt");
- if( vTmp == "" ) return ret;
- model.setValue("/root/send/srchhealexamflag", vTmp );
- // vTmp = model.getValue(ipt_pid.attribute("ref"));
- vTmp = model.getValue("/root/tmp/reqacpt/pid");
- if( vTmp == "" ) return ret;
- model.setValue("/root/send/srchpid", vTmp );
- vTmp = model.getValue("/root/tmp/reqacpt/rsrvdd");
- if( vTmp== "" ) return ret;
- model.setValue("/root/send/srchrsrvdd", vTmp );
- vTmp = model.getValue("/root/tmp/reqacpt/rsrvno");
- if( vTmp == "" ) return ret;
- model.setValue("/root/send/srchrsrvno", vTmp );
- model.setValue("/root/send/srchinstcd", getUserInfo("posinstcd"));
- model.setValue("/root/send/srchjobflag" ,vJobFlag);
- var sNd = "/root/temp/rcptinfo/hidden/opmi_out";
- model.resetInstanceNode(sNd);
- sNd = sNd + "/";
- openLoadingBar("수납예상내역 계산 중입니다..") ;//처리중 화면을 오픈한다.
- if( submit("TXAHA02101") == true ){
- model.makeValue(opt_payinsubamt.attribute("ref") , model.getValue( sNd + "opmi_payinsubamt"));
- // model.makeValue(opt_payhealcntramt.attribute("ref") , model.getValue( sNd + "opmi_payhealcntramt"));
- model.makeValue(opt_paycmpyamt.attribute("ref") , model.getValue( sNd + "opmi_paycmpyamt"));
- model.makeValue(opt_payownbamt.attribute("ref") , model.getValue( sNd + "opmi_ownbamt"));
- model.makeValue(opt_totamt.attribute("ref") , model.getValue( sNd + "opmi_totamt"));
- model.makeNode("/root/main/info/rsrvacptinfo/item");
- model.refresh();
- ret = 1;
- }
- closeLoadingBar() ;//처리중 화면을 close한다.
- return ret;
- }
- /**
- * 처방내역 및 현황조회
- */
- function fGetOrdInfo(){
- model.removeNodeset(grd_curlst.nodeset);
- model.setValue("/root/send/srchhealexamflag" , fGetHealExamFlag() ); //건진구분
- var sNd = "/root/main/info/rsrvacptinfo/item/";
- model.setValue("/root/send/srchpid" , model.getValue(sNd + "pid") ); //등록번호
- if( model.getValue("/root/send/srchpid") == "" ){
- messageBox("건진내역이 없습니다.", "E999");
- return ;
- }
- model.setValue("/root/send/srchrsrvdd" , model.getValue(sNd + "rsrvdd") ); //건진예약등록일자
- model.setValue("/root/send/srchrsrvno" , model.getValue(sNd + "rsrvno") ); //건진예약등록번호
- model.setValue("/root/send/srchorddd" , model.getValue(sNd + "orddd") ); //진료일자
- model.setValue("/root/send/srchcretno" , model.getValue(sNd + "cretno") ); //원무생성번호
- submit("TRAHA00701");
- }
- /**
- **건진자번호로 예약/접수 상세정보
- */
- function fGetDetlInfoHid(){
- model.makeNode("/root/main/info/rsrvacptinfo/item/rsrvdd");
- model.setValue("/root/main/info/rsrvacptinfo/item/rsrvdd", "");
- model.makeNode("/root/main/info/rsrvacptinfo/item/rsrvno");
- model.setValue("/root/main/info/rsrvacptinfo/item/rsrvno", "");
- var sHealExamPid = model.getValue("/root/main/info/patinfo/item/healexampid");
- if( sHealExamPid != "" ){
- var vHealExamDetlFg = model.getValue(cmb_healexamdetlflag.attribute("ref") );
- ahafGetRsrvAcpDetltInfoWithPid(vHealExamDetlFg, sHealExamPid);
- }
- //인사정보조회
- if( ( model.getValue("/root/main/info/patinfo/item/rgstno1") != "" ) &&
- (model.getValue("/root/main/info/patinfo/item/rgstno2") != "" ) ){
- ipt_pid.disabled = true;
-
- var rrgstno = model.getValue("/root/main/info/patinfo/item/rgstno1") + model.getValue("/root/main/info/patinfo/item/rgstno2") ;
- var retValue = "";
- model.makeNode("/root/send/discpat");
- retValue = fGetPsnWorkInfo(rrgstno);
- if(retValue != "") {
- var retVal = retValue.split('▦');
- model.makeValue("/root/main/info/rsrvacptinfo/item/empid", retVal[0]);
- model.makeValue("/root/main/info/rsrvacptinfo/item/empnm", retVal[1]);
- model.makeValue("/root/main/info/rsrvacptinfo/item/disccd", retVal[2]);
- model.makeValue("/root/main/info/rsrvacptinfo/item/emprelacd", retVal[8]);
- cmb_disccdlst.dispatch("xforms-select");
-
- }
- }
-
- }
- function fsetDgFlag(){
- var idx = swt_acptlst.selectedIndex ;
- if(idx == 3){
- model.makeValue("/root/send/dgflag", "2" );
- } else
- if(idx == 2){
- model.makeValue("/root/send/dgflag", "1" );
- } else {
- model.makeValue("/root/send/dgflag", "" );
- }
- }
- /*===================================================================================================================
- @desc : 수진자격 조회 후 세부 내역 조회
- ====================================================================================================================*/
- function fInsuCnts(){
-
- var vCmpycd = model.getValue("/root/main/info/rsrvacptinfo/item/cmpycd");
- model.makeValue("/root/send/srchcmpyno", vCmpycd);
- model.makeValue("/root/send/srchcond", "D");
- if (submit("TRAHB00502",false)) {
- model.makeValue("/root/main/info/rsrvacptinfo/item/cmpynm", model.getValue("/root/hidden/cmpyinfodetl/item/cmpynm"));
- model.makeValue("/root/main/info/rsrvacptinfo/item/armyhos", model.getValue("/root/hidden/cmpyinfodetl/item/miltrcntrhospcd"));
- addComboItem("cmb_bizoffccd","ZZZZZZ","","above");
- addComboItem("cmb_deptcd","ZZZZZZ","","above");
- }
- var insuflag = model.getValue("/root/main/info/rsrvacptinfo/item/insuflag");
- /*if (insuflag == "2") {
- //ipt_subscrhngnm.disabled = false;
- //ipt_subscrrrgstno1.disabled = false;
- //ipt_subscrrrgstno2.disabled = false;
- } else {
- //ipt_subscrhngnm.disabled = true;
- //ipt_subscrrrgstno1.disabled = true;
- //ipt_subscrrrgstno2.disabled = true;
- }*/
-
- model.refresh();
- }
- /*===================================================================================================================
- @desc : 사업체 존제 여부를 체크하고 사업체를 등록한다.
- ====================================================================================================================*/
- function fChkExistCmpyInfo() {
- if(fGetCmpyDetlCdList()) {
- var node = instance1.selectSingleNode("/root/temp/cmpyinfo/cmpy/cmpycd");
- if( node == null ) {
- if(messageBox("사업체정보가 존재하지 않습니다. 사업체 정보를","Q002") == "6" ) {
- fSetCmpyInfo();
- }
- }
- }
- }
- /*===================================================================================================================
- @desc : 미등록 이나 사용상태가 미사용 상태인 사업체 정보를 등록 및 업데이트 한다.
- ====================================================================================================================*/
- function fSetCmpyInfo() {
- var insuCorpBrchCd = "";
- var civilAplFlag = "";
- var appYear = "";
-
- var cmpyCd = model.getValue("/root/main/info/rsrvacptinfo/item/cmpycd");
- var cmpyNm = model.getValue("/root/main/info/rsrvacptinfo/item/cmpynm");
- var insuCorpBrchCd = model.getValue("/root/main/info/rsrvacptinfo/item/insucorpbrchcd");
- var hopeDD = model.getValue("/root/main/info/rsrvacptinfo/item/hopedd");
- if(cmpyCd == "") {
- messageBox("사업장코드가","E014");
- return;
- }
- civilAplFlag = insuCorpBrchCd.substr(4,1);
- if(hopeDD == "") {
- appYear = fGetCurrentYear();
- }else {
- appYear = hopeDD.substr(0 , 4);
- }
-
- model.makeValue("/root/send/savecmpy/cmpycd" , cmpyCd);
- model.makeValue("/root/send/savecmpy/cmpynm" , cmpyNm);
- model.makeValue("/root/send/savecmpy/insucorpbrchcd" , insuCorpBrchCd);
- model.makeValue("/root/send/savecmpy/civilaplflag" , civilAplFlag);
- model.makeValue("/root/send/savecmpy/appyear" , appYear);
-
- submit("TXAHA04033");
- }
-
- /*===================================================================================================================
- @desc : 사업장 정보가 있을 경우 사업장 기준정보를 가져온다.
- ====================================================================================================================*/
- function setGnrlCmpyInfo() {
- if(fGetCmpyDetlCdList()) {
- var node = instance1.selectNodes("/root/temp/cmpyinfo/cmpy");
- model.makeValue("/root/main/info/rsrvacptinfo/item/cmpynm", model.getValue("/root/temp/cmpyinfo/cmpy/cmpynm"));
- opt_cmpynm.refresh();
- var bizNode = null;
- if( node.length > 0 ) {
- bizNode = instance1.selectNodes("/root/temp/cmpyinfo/biz");
- model.removeNodeset("/root/hidden/cmpyinfodetl/bizlst");
- if(bizNode.length > 0 ) {
- setCSVToNode( "/root/hidden/cmpyinfodetl" , getNodeListCSV(bizNode) ,"bizlst");
- cmb_bizoffccd.dispatch("xforms-select");
- }else {
- addComboItem("cmb_bizoffccd","ZZZZZZ","","above");
- model.removeNodeset("/root/hidden/cmpyinfodetl/deptlst");
- addComboItem("cmb_deptcd","ZZZZZZ","","above");
- }
- cmb_bizoffccd.refresh();
- cmb_deptcd.refresh();
- }
- }
- }
- /*===================================================================================================================
- @desc : 검사의 금액을 계산
- ====================================================================================================================*/
- function fSetCalcExamAmt() {
- var totalDcAmt = 0;
- var totalOwnbAmt = 0;
- var payinsubamt = 0;
- var payownbamt = 0;
- var paycmpybamt = 0;
- var payhealcntrbamt = 0;
- var paydcamt = 0;
- var totamt = 0;
-
- var discCd = model.getValue("/root/main/info/rsrvacptinfo/item/disccd"); // 할인코드
- var dcAmt = model.getXPathValue("/root/init/baseinfo/pamcdlst/disccdlst[cd = '" + discCd + "']/dcamt"); // 할인율
- var dcAddAmt = model.getXPathValue("/root/init/baseinfo/pamcdlst/disccdlst[cd = '" + discCd + "']/adddcamt"); // 추가검사할인율
-
- for(var i = 1; i <= parseInt(model.getXPathValue("count(/root/send/selpkgexam)")); i++) {
- var sel = model.getXPathValue("/root/send/selpkgexam[" +i+ "]/sel");
- if(model.getValue("/root/send/selpkgexam[" +i+ "]/uncocd") == "") {
- setAmt(i);
- }
-
- if (model.getValue("/root/send/selpkgexam[" +i+ "]/payinsubamt").isNumber() != false && sel == "Y") {
- payinsubamt = payinsubamt + eval(model.getValue("/root/send/selpkgexam[" +i+ "]/payinsubamt"));
- }
-
- if (model.getValue("/root/send/selpkgexam[" +i+ "]/payownbamt").isNumber() != false && sel == "Y") {
- payownbamt = payownbamt + eval(model.getValue("/root/send/selpkgexam[" +i+ "]/payownbamt"));
- }
- if (model.getValue("/root/send/selpkgexam[" +i+ "]/paycmpybamt").isNumber() != false && sel == "Y") {
- paycmpybamt = paycmpybamt + eval(model.getValue("/root/send/selpkgexam[" +i+ "]/paycmpybamt"));
- }
- if (model.getValue("/root/send/selpkgexam[" +i+ "]/payhealcntrbamt").isNumber() != false && sel == "Y") {
- payhealcntrbamt = payhealcntrbamt + eval(model.getValue("/root/send/selpkgexam[" +i+ "]/payhealcntrbamt"));
- }
- }
-
- model.makeValue(opt_payinsubamt.attribute("ref") , payinsubamt);
- model.makeValue(opt_payownbamt.attribute("ref") , payownbamt);
- model.makeValue(opt_paycmpyamt.attribute("ref") , paycmpybamt);
- model.makeValue(opt_payhealcntramt.attribute("ref") , payhealcntrbamt);
- model.makeValue(opt_totamt.attribute("ref") , payinsubamt + payownbamt + paycmpybamt + payhealcntrbamt);
-
- // 할인율 계산
- for(var i = 1; i <= parseInt(model.getXPathValue("count(/root/send/selpkgexam)")); i++) {
- if(discCd != "-" && discCd != "") {
- var sel = model.getValue("/root/send/selpkgexam[" +i+ "]/sel");
- var testdiscyn = model.getValue("/root/send/selpkgexam[" +i+ "]/testdiscyn");
- var pkgflag = model.getValue("/root/send/selpkgexam[" +i+ "]/pkgflag");
- var paydcbamt = 0 ;
- var ownbAmt = eval(model.getValue("/root/send/selpkgexam[" + i + "]/payownbamt"));
-
- if(pkgflag == "P") {
- if(testdiscyn == "Y" || (testdiscyn == "N" && dcAmt == 0)) {
- // 그리드의 코드 별 할인금액
- paydcbamt = (eval(model.getValue("/root/send/selpkgexam[" + i + "]/payownbamt")) * dcAmt * 0.01);
- ownbAmt = ownbAmt - (eval(model.getValue("/root/send/selpkgexam[" + i + "]/payownbamt"))* dcAmt * 0.01);
- }
- }else {
- if(testdiscyn == "Y" || (testdiscyn == "N" && dcAddAmt == 0)) {
- // 그리드의 코드 별 할인금액
- paydcbamt = (eval(model.getValue("/root/send/selpkgexam[" + i + "]/payownbamt")) * dcAddAmt * 0.01);
- ownbAmt = ownbAmt - (eval(model.getValue("/root/send/selpkgexam[" + i + "]/payownbamt")) * dcAddAmt * 0.01);
- }
- }
-
- // 그리드의 코드 별 계산 금액
- model.makeValue("/root/send/selpkgexam[" + i + "]/payownbamt", ownbAmt);
- model.makeValue("/root/send/selpkgexam[" + i + "]/paydcbamt", paydcbamt);
-
- // 전체 할인금액,개인 부담금
- if(sel == "Y") {
- totalDcAmt += paydcbamt;
- totalOwnbAmt += ownbAmt;
- }
- }
- }
- if(discCd != "-" && discCd != "") {
- model.makeValue(opt_payownbamt.attribute("ref") , totalOwnbAmt);
- model.makeValue(opt_paydcamt.attribute("ref") , totalDcAmt);
- }
- }
- /*===================================================================================================================
- @desc : 할인계정, 검사선택에 따른 금액을 계산
- ====================================================================================================================*/
- function fSetReCalcAmt(vDiscYN) {
- if(vDiscYN == null || vDiscYN == "") vDiscYN = "N";
- var payinsubamt = 0.0;
- var payownbamt = 0.0;
- var paycmpybamt = 0.0;
- var payhealcntrbamt = 0.0;
- var paydcbamt = 0.0;
-
- var discAmt = 0.0;
- var ownbAmt = 0.0;
- var calcDcAmt = 0.0;
-
- var totPayinsubamt = 0.0;
- var totPayownbamt = 0.0;
- var totPaycmpybamt = 0.0;
- var totPayhealcntrbamt = 0.0;
- var totPaydcbamt = 0.0;
- var totPayamt = 0.0;
-
- var pkgflag = '';
- var uncocd = '';
-
- var discCd = model.getValue("/root/main/info/rsrvacptinfo/item/disccd"); // 할인코드
- var dcAmt = model.getXPathValue("/root/init/baseinfo/pamcdlst/disccdlst[cd = '" + discCd + "']/dcamt"); // 패키지 할인율
- var adddcAmt = model.getXPathValue("/root/init/baseinfo/pamcdlst/disccdlst[cd = '" + discCd + "']/adddcamt"); // 추가검사 할인율
-
- // 금액 계산
- for(var i = 1; i <= parseInt(model.getXPathValue("count(/root/send/selpkgexam)")); i++) {
- var sel = model.getXPathValue("/root/send/selpkgexam[" +i+ "]/sel");
- var testdiscyn = model.getXPathValue("/root/send/selpkgexam[" +i+ "]/testdiscyn");
- pkgflag = model.getValue("/root/send/selpkgexam[" + i + "]/pkgflag");
- uncocd = model.getValue("/root/send/selpkgexam[" + i + "]/uncocd");
-
- payinsubamt = parseFloat(model.getValue("/root/send/selpkgexam[" + i + "]/payinsubamt"));
- payownbamt = parseFloat(model.getValue("/root/send/selpkgexam[" + i + "]/payownbamt"));
- paycmpybamt = parseFloat(model.getValue("/root/send/selpkgexam[" + i + "]/paycmpybamt"));
- payhealcntrbamt = parseFloat(model.getValue("/root/send/selpkgexam[" + i + "]/payhealcntrbamt"));
- paydcbamt = parseFloat(model.getValue("/root/send/selpkgexam[" + i + "]/paydcbamt"));
- calcDcAmt = payownbamt + paydcbamt;
-
- if(discCd != "-" && discCd != "" && pkgflag=='P') {
- if(testdiscyn == "Y" || (testdiscyn == "N" && dcAmt == 0 )) {
- // 그리드의 코드 별 할인금액
- discAmt = calcDcAmt * dcAmt * 0.01;
- ownbAmt = calcDcAmt - discAmt;
-
- // 그리드의 코드 별 계산 금액
- model.makeValue("/root/send/selpkgexam[" + i + "]/payownbamt", ownbAmt);
- model.makeValue("/root/send/selpkgexam[" + i + "]/paydcbamt", discAmt);
- }
- }else if(discCd != "-" && discCd != "" && (pkgflag=='A' || pkgflag=='S' )) {
- if(testdiscyn == "Y" || (testdiscyn == "N" && adddcAmt == 0 )) {
- // 그리드의 코드 별 할인금액
- discAmt = calcDcAmt * adddcAmt * 0.01;
- ownbAmt = calcDcAmt - discAmt;
-
- // 그리드의 코드 별 계산 금액
- model.makeValue("/root/send/selpkgexam[" + i + "]/payownbamt", ownbAmt);
- model.makeValue("/root/send/selpkgexam[" + i + "]/paydcbamt", discAmt);
- }
- } else {
- if(testdiscyn == "Y" || (testdiscyn == "N" && adddcAmt == 0 )) {
- // 그리드의 코드 별 할인금액
- discAmt = 0;
- ownbAmt = calcDcAmt;
-
- // 그리드의 코드 별 계산 금액
- model.makeValue("/root/send/selpkgexam[" + i + "]/payownbamt", ownbAmt);
- model.makeValue("/root/send/selpkgexam[" + i + "]/paydcbamt", discAmt);
- }
- }
- if(sel == "Y") {
- totPayinsubamt += payinsubamt;
- totPayownbamt += parseFloat(model.getValue("/root/send/selpkgexam[" + i + "]/payownbamt"));
- totPaycmpybamt += paycmpybamt;
- totPayhealcntrbamt += payhealcntrbamt;
- totPaydcbamt += parseFloat(model.getValue("/root/send/selpkgexam[" + i + "]/paydcbamt"));
- totPayamt += (payinsubamt + parseFloat(model.getValue("/root/send/selpkgexam[" + i + "]/payownbamt")) + paycmpybamt + payhealcntrbamt + parseFloat(model.getValue("/root/send/selpkgexam[" + i + "]/paydcbamt")));
- }
- }
- model.makeValue(opt_payinsubamt.attribute("ref") , totPayinsubamt);
- model.makeValue(opt_payownbamt.attribute("ref") , totPayownbamt);
- model.makeValue(opt_paycmpyamt.attribute("ref") , totPaycmpybamt);
- model.makeValue(opt_payhealcntramt.attribute("ref") , totPayhealcntrbamt);
- model.makeValue(opt_totamt.attribute("ref") , totPayamt);
- model.makeValue(opt_paydcamt.attribute("ref") , totPaydcbamt);
- }
-
- /** ==============================================================================================================================================================
- * 결과상담을 등록하는 팝업화면을 띄운다.
- *SPAHA00100_PARAM1 : 건진구분
- *SPAHA00100_PARAM2 : 건진상세구분
- *SPAHA00100_PARAM3 : opener 선택노드 xPath
- *SPAHA00100_PARAM4 : opener 결과노드셋 xPath
- ==================================================================================================================================================================*/
- function fGetRsltRsrvDateTime(vFlag) {
- var statFlag = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
- var sHealexamFlag = model.getValue("/root/main/info/rsrvacptinfo/item/healexamflag");
- var sOutExamYN = rdo_outexamyn.value;
- var sIdx = cmb_rsltcnstlst.focusIndex;
- var nodeIdx = sIdx + 1;
- var rsltRsrvList = instance1.selectNodes("/root/main/info/rsltcnstinfo/cnstlst/cnst");
- var rsltRsrvSaveYN = "";
- var m = "";
-
- var vHealExamFg = model.getValue("/root/main/info/rsrvacptinfo/item/healexamflag") == "" ? fGetHealExamFlag() : model.getValue("/root/main/info/rsrvacptinfo/item/healexamflag");
- var vRsrvdd = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd");
- var vRsrvno = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno");
-
- // 공통코드의 비고[ Y인경인 결과상담 시간을 관리 N 경우 시간을 관리 하지 않음]
- var cmt = model.getValue("/root/init/baseinfo/rsltcnstflaglst/S080[" + (cmb_rsltcnstflag.focusIndex + 1) + "]/cmt")
- if( (vHealExamFg == "") || (vRsrvdd == "") || (vRsrvno == "") || (vRsrvno == "0") ) {
- messageBox("대상자를" , "C002");
- return;
- }
-
-
- if(vFlag == "d") {
- // 삭제 시 저장 않 되었을 경우 그냥 삭제한다.
- // 저장된 내역일 경우에는 상담완료여부 및 지난간 일자인지 체크한다.
- rsltRsrvSaveYN = rsltRsrvList.item(sIdx).rsltrsrvsaveyn.text;
- m = rsltRsrvList.item(sIdx).m.text;
- if(rsltRsrvSaveYN == "N" && m == "i") {
- model.removenode("/root/main/info/rsltcnstinfo/cnstlst/cnst[" + nodeIdx+ "]");
- cmb_rsltcnstlst.refresh();
- cmb_rsltcnstlst.select(0);
- return;
- }else if(rsltRsrvSaveYN == "Y") {
- var rsltCnstEndYN = rsltRsrvList.item(sIdx).rsltcnstendyn.text;
- var rsltCnstDD = rsltRsrvList.item(sIdx).rsltcnstdd.text;
- var rsltCnstRsrvEndtm = rsltRsrvList.item(sIdx).rsltcnstrsrvendtm.text;
- if(cmt == "Y") {
- if(rsltCnstEndYN == "Y") {
- messageBox("상담완료이" , "I002");
- return;
- }
- }
- model.setValue("/root/main/info/rsltcnstinfo/cnstlst/cnst[" + nodeIdx + "]/m" ,vFlag);
- model.setValue("/root/main/info/rsltcnstinfo/cnstlst/cnst[" + nodeIdx + "]/rsltrsrvsaveyn" ,"N");
- }
-
- }else if( vFlag == "i") {
- // 한번에 한번씩 예약가능
- if(instance1.selectNodes("/root/main/info/rsltcnstinfo/cnstlst/cnst[m='i' or m='d']" ).length > 0) {
- messageBox("저장 후 상담예약" , "I006" );
- return;
- }
- // 내부검사는 1회로 제한
- if(sOutExamYN == "N") {
- var outExamNodeList = instance1.selectNodes("/root/main/info/rsltcnstinfo/cnstlst/cnst[outexamyn='" + sOutExamYN + "' and m !='-'] " );
- if(outExamNodeList.length > 0) {
- messageBox("내부검사는 1회 등록" , "I006" );
- return;
- }
-
- if(cmb_rsltcnstflag.value == "") {
- messageBox("결과상담 구분을" , "C002" );
- return;
- }
- }
- if(cmt == "Y" || sOutExamYN == "Y") {
- setParameter ("SPAHA00110_PARAM1", sHealexamFlag == "" ? fGetHealExamFlag() : sHealexamFlag);
- setParameter ("SPAHA00110_PARAM2", model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag"));
- setParameter ("SPAHA00110_PARAM3", "/root/main/info/rsltcnstinfo/choicnst");
- setParameter ("SPAHA00110_PARAM4", "/root/main/info/rsltcnstinfo/cnstlst/cnst");
- modal("SPAHA00110");
- }else if(cmt == "N") {
- var cnt = parseInt(getNodesetCount("/root/main/info/rsltcnstinfo/cnstlst/cnst")) + 1;
- // 기존 인스턴스 순서에 맞추어서 생성해야 함
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstseqno" , 0);
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/outexamyn" , model.getValue("/root/main/info/rsltcnstinfo/choicnst/outexamyn"));
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstflag" , model.getValue("/root/main/info/rsltcnstinfo/choicnst/rsltcnstflag"));
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstdd" , "");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstrsrvstarttm" , "");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstrsrvendtm" , "");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/ownyn" , "");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/visitor" , "");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstdr" , "");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/visittm" , "");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnststarttm" , "");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstendtm" , "");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstendyn" , "N");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnsthistcd" , "O");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstremcnts" , model.getValue("/root/main/info/rsltcnstinfo/choicnst/rsltcnstremcnts"));
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/spcffact" , "");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltrsrvid" , "----");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltrsrvnm" , cmb_rsltcnstflag.label);
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltrsrvsaveyn" , "N");
- model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/m" , "i");
-
- }
- }
- }
-
-
- function RgstnoCheck(){
- var rgstno1 = ipt_rgstno1.currentText;
- var rgstno2 = ipt_rgstno2.currentText;
-
- var rgstno1 = model.getValue("/root/main/info/patinfo/item/rgstno1").getTrim();
- var rgstno2 = model.getValue("/root/main/info/patinfo/item/rgstno2").getTrim();
- if(rgstno1.length != 6 ){
- messageBox("주민번호 앞6자리 형식오류입니다. 올바른 형태로 입력하십시요!","E999","");
- model.setFocus("ipt_rgstno1");
- return false;
- }else if(rgstno2.length != 7){
- messageBox("주민번호 뒤7자리 형식오류입니다. 올바른 형태로 입력하십시요!","E999","");
- model.setFocus("ipt_rgstno2");
- return false;
- }
-
- return true;
- }
-
-
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;2,784;2,757;1,852;1,1187;1,1239;">
- <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <input id="ipt_srchpid" ref="/root/send/srchpid2" class="input_search" style="left:660px; top:8px; width:170px; height:19px; "/>
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:5px; width:1194px; height:30px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption48" class="search_name" style="left:636px; top:12px; width:89px; height:17px; ">환자검색 :</caption>
- <button id="btn_acptlst" class="btn1_letter2" style="left:1122px; top:10px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fGetList();
- ]]>
- </script>
- </button>
- <line id="line29" style="x1:1106px; y1:10px; x2:1106px; y2:32px; border-color:#ffe4bb; border-left-style:solid; "/>
- <caption id="caption49" class="search_name" style="left:5px; top:12px; width:86px; height:17px; ">건진일자 :</caption>
- <caption id="caption50" class="search_n_b" style="left:196px; top:11px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <input id="ipt_srchfromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:92px; top:11px; width:100px; height:19px; "/>
- <input id="ipt_srchtodd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:212px; top:11px; width:100px; height:19px; "/>
- <input id="srch_pid" ref="/root/send/srchpid2" class="input_search" maxlength="10" style="left:725px; top:11px; width:135px; height:19px; "/>
- <button id="button6" class="icon_search" style="left:865px; top:11px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSearchPatInfo("SMAHA00600", "pid", srch_pid.currentText , "N", "/root/send" ,ipt_srchpid.attribute("ref"), opt_srchpnm.attribute("ref") );
- ]]>
- </script>
- </button>
- <output id="opt_srchpnm" ref="/root/send/srchpnm2" class="output_fix" style="left:885px; top:11px; width:200px; height:19px; "/>
- <select1 id="cmb_srchhealexamdetlflag" ref="/root/send/srchhealexamdetlflag" class="combo_search" visibility="visible" appearance="minimal" style="left:420px; top:11px; width:190px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamdetlflag/A0070">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- // cmb_healexamdetlflag.value = cmb_srchhealexamdetlflag.value;
- ]]>
- </script>
- </select1>
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamdetlflag/A0070">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <caption id="caption51" class="search_name" visibility="visible" style="left:331px; top:12px; width:86px; height:17px; ">검진구분 :</caption>
- </group>
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:106px; height:13px; ">
- <![CDATA[예약/접수]]>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- open("SMAHA04700");
- ]]>
- </script>
- </caption>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_rsrvcfm" class="btn4_letter2" style="left:840px; top:3px; width:56px; height:22px; ">
- <caption>예약</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
-
- //주민번호 체크
- if( ! RgstnoCheck() ){
- return false;
- }
-
-
- if (model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag")=="")
- {
- messageBox("건진종류를 ", "C002" );
- return;
- }
- if (model.getValue("root/main/info/rsrvacptinfo/item/rsrvtm") == ""){
- messageBox("예약일자를 ", "C002");
- model.setFocus("btn_totrsrvdt");
- fGetRsrvDateTime("T", ipt_rsrvdd , ipt_rsrvtm);
- return false;
- }
- if(model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd")==""){
- messageBox("패키지를 ", "C002");
- return;
- }
- model.makeValue("/root/main/info/rsrvacptinfo/item/brthdd", model.getValue("/root/main/info/patinfo/item/brthdd"));
- model.makeValue("/root/main/info/rsrvacptinfo/item/healexamflag","G");
- finsuCheck();
- model.makeValue("/root/main/info/rsrvacptinfo/item/dgflag" , "1");
- if(model.getValue("/root/main/info/patinfo/item/pid") == ""){
- //alert("20080830");
- // fSavePtbs();
- }
- //copyNodesetType("/root/main/info/rsrvacptinfo/addlst","/root/send/selpkgexam", "replace");
- //model.refresh();
- fSaveRsrvAcptPro("C","1");
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn4_letter3" style="left:765px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var vhf = model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag");
- fInitInfo();
- model.makeValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag",vhf);
- fSetBtnStat();
- fInsuCnts();
- model.makeValue("/root/send/srchpkgflag", "");
- model.makeValue("/root/send/srchhealexamflag", "G");
- model.makeValue("/root/send/srchhealexamdetlflag" , model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag"));
- model.makeValue("/root/send/srchetccd" , model.getValue("/root/main/info/rsrvacptinfo/item/etccd"));
- submit("TRAHA00431");
- model.setFocus("ipt_rgstno1",true);
- ]]>
- </script>
- </button>
- <button id="btn_rsrvcncl" class="btn4_letter4" style="left:900px; top:3px; width:80px; height:22px; ">
- <caption>예약취소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.makeValue("/root/main/info/rsrvacptinfo/item/brthdd", model.getValue("/root/main/info/patinfo/item/brthdd"));
- model.makeValue("/root/main/info/rsrvacptinfo/item/healexamflag","G");
- finsuCheck();
- fSaveRsrvAcptPro("D","1");
- ]]>
- </script>
- </button>
- <button id="btn_acpt" class="btn4_letter2" style="left:985px; top:3px; width:56px; height:22px; ">
- <caption>접수</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- //주민번호 체크
- if( ! RgstnoCheck() ){
- return false;
- }
-
- if (model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag")=="")
- {
- messageBox("건진종류를 ", "C002" );
- return;
- }
- model.makeValue("/root/main/info/rsrvacptinfo/item/brthdd", model.getValue("/root/main/info/patinfo/item/brthdd"));
- model.makeValue("/root/main/info/rsrvacptinfo/item/healexamflag","G");
- finsuCheck();
- var cur_date = getCurrentDate();
- model.makeValue("/root/main/info/rsrvacptinfo/item/hopedd",cur_date);
- // model.makeValue("/root/main/info/rsrvacptinfo/item/orddd",cur_date);
- // model.makeValue("/root/main/info/rsrvacptinfo/item/dgflag" , "1");
- if(model.getValue("/root/main/info/patinfo/item/pid") == ""){
- //alert("20080830");
- // fSavePtbs();
- }
- var chknum = 0;
- for (var i=1 ; i <grd_addlst.rows ; i++ ) {
- if (grd_addlst.valueMatrix(i,grd_addlst.colRef('sel')) == 'Y') {
- chknum++;
- }
- grd_addlst.valueMatrix(i ,grd_addlst.colRef("payinsubamt")) = Math.floor(parseFloat(grd_addlst.valueMatrix(i ,grd_addlst.colRef("payinsubamt"))));
- grd_addlst.valueMatrix(i ,grd_addlst.colRef("payownbamt")) = Math.floor(parseFloat(grd_addlst.valueMatrix(i ,grd_addlst.colRef("payownbamt"))));
- grd_addlst.valueMatrix(i ,grd_addlst.colRef("payhealcntrbamt")) = Math.floor(parseFloat(grd_addlst.valueMatrix(i ,grd_addlst.colRef("payhealcntrbamt"))));
- grd_addlst.valueMatrix(i ,grd_addlst.colRef("paycmpybamt")) = Math.floor(parseFloat(grd_addlst.valueMatrix(i ,grd_addlst.colRef("paycmpybamt"))));
- grd_addlst.valueMatrix(i ,grd_addlst.colRef("paydcbamt")) = Math.floor(parseFloat(grd_addlst.valueMatrix(i ,grd_addlst.colRef("paydcbamt"))));
- }
- if (chknum>0 ){
- fSaveRsrvAcptPro("E","1");
- } else {
- messageBox("검사내역을 ", "C002" );
- return false;
- }
-
-
- //model.resetInstanceNode("/root/send/selpkgexam");
- ]]>
- </script>
- </button>
- <button id="btn_acptcncl" class="btn4_letter4" style="left:1046px; top:4px; width:80px; height:22px; ">
- <caption>접수취소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.makeValue("/root/main/info/rsrvacptinfo/item/brthdd", model.getValue("/root/main/info/patinfo/item/brthdd"));
- model.makeValue("/root/main/info/rsrvacptinfo/item/healexamflag", "G");
- model.makeValue("/root/main/info/rsrvacptinfo/item/ownbamt", model.getValue("//root/main/info/rcptinfo/ownbamt"));
-
- finsuCheck();
- for (var i=1 ; i <grd_addlst.rows ; i++ ) {
- grd_addlst.valueMatrix(i ,grd_addlst.colRef("payinsubamt")) = Math.round(parseFloat(grd_addlst.valueMatrix(i ,grd_addlst.colRef("payinsubamt"))));
- grd_addlst.valueMatrix(i ,grd_addlst.colRef("payownbamt")) = Math.round(parseFloat(grd_addlst.valueMatrix(i ,grd_addlst.colRef("payownbamt"))));
- grd_addlst.valueMatrix(i ,grd_addlst.colRef("payhealcntrbamt")) = Math.round(parseFloat(grd_addlst.valueMatrix(i ,grd_addlst.colRef("payhealcntrbamt"))));
- grd_addlst.valueMatrix(i ,grd_addlst.colRef("paycmpybamt")) = Math.round(parseFloat(grd_addlst.valueMatrix(i ,grd_addlst.colRef("paycmpybamt"))));
- grd_addlst.valueMatrix(i ,grd_addlst.colRef("paydcbamt")) = Math.round(parseFloat(grd_addlst.valueMatrix(i ,grd_addlst.colRef("paydcbamt"))));
- }
- fSaveRsrvAcptPro("F","1");
- fSetReCalcAmt("Y");
- ]]>
- </script>
- </button>
- <button id="btn_prntseq" class="btn6_letter5" style="left:186px; top:3px; width:92px; height:22px; ">
- <caption>순서표출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/send/srchhealexamflag" , fGetHealExamFlag() ); //건진구분
- model.setValue("/root/send/srchrsrvdd" , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd") ); //건진예약등록일자
- model.setValue("/root/send/srchrsrvno" , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno") ); //건진예약등록번호
-
- if( submit("TRAHA04034") == false ) return ;
-
- model.makeNode("/root/main/seqprntdata/pid");
- model.makeNode("/root/main/seqprntdata/hngnm");
- model.makeNode("/root/main/seqprntdata/sexage");
- model.makeNode("/root/main/seqprntdata/pkgnm");
- model.makeNode("/root/main/seqprntdata/brtdd");
-
- model.setValue("/root/main/seqprntdata/pid" ,model.getValue(ipt_pid.attribute("ref") ) ); //등록번호
- model.setValue("/root/main/seqprntdata/hngnm" ,model.getValue(ipt_pnm.attribute("ref")) ); //성명
- model.setValue("/root/main/seqprntdata/sexage" ,model.getValue(opt_sex.attribute("ref")) + "/" + model.getValue(opt_age.attribute("ref")) ); //성별,나이
- model.setValue("/root/main/seqprntdata/pkgnm" ,model.getValue("/root/main/info/rsrvacptinfo/item/pkgnm") ); //패키지명
- model.setValue("/root/main/seqprntdata/brtdd" ,model.getValue(ipt_brthdd.attribute("ref")) ); //생년월일
- model.makeValue("/root/main/seqprntdata/cmpynm" ,model.getValue("/root/main/info/rsrvacptinfo/item/cmpynm")); //회사명
-
- var nodeList= instance1.selectNodes("/root/main/seqprntdata/item");
- if((nodeList != null) && (nodeList.length >0 )){
- // exeReportPreview("RPAHA00402", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
- exeReportPreview("RPAHA00406", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
- }
- ]]>
- </script>
- </button>
- <button id="btn_rcpt" class="btn4_letter2" style="left:1129px; top:4px; width:56px; height:22px; ">
- <caption>수납</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //alert(model.getValue("/root/main/info/rsrvacptinfo/item/statflag") );
- var rs= model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
- if((rs=="E") ||(rs=="F")||(rs=="G")||(rs=="H")||(rs=="I")){
- ahafOpenRcptGnrl( fGetHealExamFlag()
- , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd")
- , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno")
- , model.getValue("/root/main/info/rsrvacptinfo/item/pid")
- , model.getValue("/root/main/info/rsrvacptinfo/item/rcptstat")
- , model.getValue("/root/main/info/rsrvacptinfo/item/orddd" ) );
- } else {
- setParameter("SMAHA02400_PARAM_PID",model.getValue("/root/main/info/patinfo/item/pid"));
- // setParameter("SMAHA02400_PARAM_PREAMT2",model.getValue("/root/main/info/rcptinfo/preamt2"));
- setParameter("SMAHA02400_PARAM_PREAMT2",model.getValue("/root/main/info/rcptinfo/realamt"));
- modal("SMAHA02400");
- }
- ]]>
- </script>
- </button>
- <button id="button2" class="btn3_letter6" style="left:0px; top:3px; width:104px; height:22px; ">
- <caption>외래검사예약</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- aezfPopUpRsrvSample("SMAEA02000", "", "/root/main/info/rsrvacptinfo/item");
- ]]>
- </script>
- </button>
- <button id="btn_cmpyacpt" class="btn3_letter6" visibility="hidden" style="left:420px; top:5px; width:104px; height:22px; ">
- <caption>단체예약/접수</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- open("SMAHA00300");
- ]]>
- </script>
- </button>
- <button id="btn_rsrvacptprest" class="btn3_letter6" visibility="hidden" style="left:530px; top:5px; width:104px; height:22px; ">
- <caption>예약/접수현황</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ahafOpenRsrvAcptList("SMAHA00100"
- , fGetHealExamFlag() , model.getValue(cmb_healexamdetlflag.attribute("ref") ) , "N" , "C" , ""
- , "" , ipt_pnm.currentText, ipt_pid.currentText , ipt_rgstno1.currentText, ipt_rgstno2.currentText, "", "pnm", "/root/main/info/rsrvacptinfo/item");
- if( model.getValue("/root/temp/SMAHA00400/okflag") == "ok" ){
- ahafGetRsrvAcpDetltInfo( model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd"), model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno") );
- }
- ]]>
- </script>
- </button>
- <button id="button5" class="btn3_letter4" visibility="visible" style="left:105px; top:3px; width:104px; height:22px; ">
- <caption>건진이력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- setParameter ("SPAHA04013_PARAM1" , model.getValue("/root/main/info/rsrvacptinfo/item/pid") );
- setParameter ("SPAHA04013_PARAM2" , model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag").substr(0,1) );
- setParameter ("SPAHA04013_PARAM3" , model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag") );
- window.load("../../../ast/healthexamrsrvacptweb/xrw/SPAHA04013_건진이력.xrw","modeless","","","","");
- ]]>
- </script>
- </button>
- </group>
- <button id="button15" class="btn2_letter4" style="left:986px; top:56px; width:64px; height:19px; ">
- <caption>선택추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //model.makeNode("/root/send/selpkgexam");
- var exists = true;
- for (var k = 1;k <= grd_pkglst.rows ;k++){
- if (grd_pkglst.valueMatrix(k, grd_pkglst.colRef("sel")) == "Y" && grd_pkglst.isReadOnly(k, grd_pkglst.colRef("sel")) == false) {
- exists = false;
- }
- }
- if(exists) {
- messageBox("선택된 패키지가", "I004");
- return;
- }
- var rowcount = parseInt(model.getXPathValue("count(/root/send/selpkgexam)")) + 1;
- for (i = 1; i <= grd_pkglst.rows ; i++){
- if (model.getValue("/root/main/pkgaddlst/item[" +i+ "]/sel") == "Y" && grd_pkglst.isReadOnly(i, grd_pkglst.colRef("sel")) == false) {
- if (rowcount==0){
- rowcount = 1;
- }
- model.setValue("/root/main/info/rsrvacptinfo/item/pkgcd", model.getValue("/root/main/pkgaddlst/item[" +i+ "]/pkgcd"));
- grd_pkglst.isReadOnly(i, grd_pkglst.colRef("sel")) = true;
- model.makeValue("/root/send/selpkgexam["+rowcount+"]/sel" , "true");
- model.makeValue("/root/send/selpkgexam["+rowcount+"]/pkgcd", model.getValue("/root/main/pkgaddlst/item[" +i+ "]/pkgcd"));
- model.makeValue("/root/send/selpkgexam["+rowcount+"]/pkgnm", model.getValue("/root/main/pkgaddlst/item[" +i+ "]/pkgnm"));
- model.makeValue("/root/send/selpkgexam["+rowcount+"]/testcd", model.getValue("/root/main/pkgaddlst/item[" +i+ "]/pkgcd"));
- model.makeValue("/root/send/selpkgexam["+rowcount+"]/pkgflag", model.getValue("/root/main/pkgaddlst/item[" +i+ "]/pkgflag")); //추가검사
- model.makeValue("/root/send/selpkgexam["+rowcount+"]/testflag", "A");
- model.makeValue("/root/send/selpkgexam["+rowcount+"]/grupflag" , model.getValue("/root/main/pkgaddlst/item[" +i+ "]/grupflag"));
- model.makeValue("/root/send/selpkgexam["+rowcount+"]/m" , "i");
- model.makeValue("/root/main/info/rsrvacptinfo/addlst["+rowcount+"]/m" , "i");
- rowcount = rowcount +1;
- }
- }
- var pkglst = "";
-
- for(var i = 1; i <= parseInt(model.getXPathValue("count(/root/send/selpkgexam)")) ; i++)
- {
- if(model.getValue("/root/send/selpkgexam[" +i+ "]/pkgflag") == "P")
- {
- pkglst += "'" + model.getValue("/root/send/selpkgexam[" +i+ "]/pkgcd") + "', ";
- }
- }
- pkglst = pkglst.substr(0, pkglst.length - 2);
-
- model.makeValue("/root/send/srchpkglst", pkglst);
- var healcureflag = model.getValue("/root/main/info/rsrvacptinfo/item/acpt_insuid");
- healcureflag = healcureflag.substr(0, 1);
-
- if(submit("TRAHA04032")) {
- fSetCalcExamAmt();
- }
-
- grd_addlst.rebuild();
- model.refresh();
- ]]>
- </script>
- </button>
- <select1 id="combo27" ref="/root/main/info/rsrvacptinfo/item/mamcncrflag" class="combo_default" navindex="30" appearance="minimal" style="left:749px; top:424px; width:103px; height:19px; ">
- <choices>
- <item>
- <label>대상아님</label>
- <value>1</value>
- </item>
- <item>
- <label>10%부담</label>
- <value>2</value>
- </item>
- <item>
- <label>공단부담</label>
- <value>3</value>
- </item>
- <item>
- <label>보건소부담</label>
- <value>4</value>
- </item>
- <item>
- <label>수검완료</label>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <caption id="caption81" class="cell_1" style="left:492px; top:370px; width:70px; height:23px; vertical-align:middle; ">1차장소</caption>
- <caption id="caption70" class="cell_1" style="left:676px; top:292px; width:70px; height:23px; vertical-align:middle; ">가입구분</caption>
- <output id="opt_paycmpyamt" ref="/root/main/info/rcptinfo/paycmpyamt" class="output_fix" format="#,###" style="left:939px; top:726px; width:80px; height:19px; text-align:right; "/>
- <button id="button4" class="btn2_letter6" style="left:675px; top:188px; width:86px; height:19px; ">
- <caption>등록번호생성</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSavePtbs();
- ]]>
- </script>
- </button>
- <button id="button16" class="btn2_letter6" style="left:765px; top:188px; width:86px; height:19px; ">
- <caption>수진자격조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var sRgstNo1 = model.getValue("/root/main/info/patinfo/item/rgstno1" );
- var sRgstNo2 = model.getValue("/root/main/info/patinfo/item/rgstno2" );
- var sHngNm = model.getValue("/root/main/info/patinfo/item/hngnm");
- /* var sOrdDD = model.getValue( ipt_rsrvdd.attribute("ref") );
- if( sOrdDD == "" ) {
- sOrdDD = model.getValue( ipt_orddd.attribute("ref") );
- }
- var vInsuKind = opt_insukind.attribute("ref") ;
- var vInsuID = ipt_insuid.attribute("ref") ;
- var vInsuCd = ipt_insucd.attribute("ref") ;
- var vFromDD = "";
- var vInsuNm = "";
- var vInsuBranchCd = ipt_insucorpbrchcd.attribute("ref") ;
- var vInsuBranchNm = opt_insucorpbrchnm.attribute("ref") ;*/
- ahafGetInsuCnts(sRgstNo1, sRgstNo2, sHngNm);
- fGetCmpyDetlCdList();
- fSetCalcExamAmt();
- var node = instance1.selectSingleNode("/root/temp/cmpyinfo/cmpy/cmpycd");
- if( node != null ) {
- opt_cmpynm.value = model.getValue("/root/temp/cmpyinfo/cmpy/cmpynm");
- }
- //fChkExistCmpyInfo();
- ]]>
- </script>
- </button>
- <caption id="caption93" class="cell_1" visibility="hidden" style="left:311px; top:723px; width:73px; height:23px; vertical-align:middle; ">기록지/문진</caption>
- <select1 id="combo28" ref="/root/main/info/rsrvacptinfo/item/cervcncrflag" class="combo_default" navindex="31" appearance="minimal" style="left:384px; top:450px; width:105px; height:19px; ">
- <choices>
- <item>
- <label>대상아님</label>
- <value>1</value>
- </item>
- <item>
- <label>10%부담</label>
- <value>2</value>
- </item>
- <item>
- <label>공단부담</label>
- <value>3</value>
- </item>
- <item>
- <label>보건소부담</label>
- <value>4</value>
- </item>
- <item>
- <label>수검완료</label>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo17" ref="/root/main/info/rsrvacptinfo/item/insutrgtflag" class="combo_default" navindex="14" appearance="minimal" style="left:565px; top:294px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/insutrgtflag/A0108">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption82" class="cell_1" style="left:676px; top:370px; width:70px; height:23px; vertical-align:middle; ">2차장소</caption>
- <line id="line41" class="line_2" style="x1:311px; y1:290px; x2:851px; y2:290px; "/>
- <caption id="caption60" class="tit_2" style="left:316px; top:539px; width:144px; height:13px; ">검사내역</caption>
- <line id="line30" class="line_3" style="x1:310px; y1:748px; x2:1190px; y2:748px; "/>
- <output id="opt_payownbamt" ref="/root/main/info/rcptinfo/ownbamt" class="output_fix" format="#,###" style="left:1093px; top:700px; width:95px; height:19px; text-align:right; "/>
- <button id="btn_srchcmpy" class="icon_search" style="left:493px; top:267px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetComnCd("SMAHA01500", "09" , "cd", ipt_cmpycd.currentText ,ipt_cmpycd.attribute("ref"), opt_cmpynm.attribute("ref"));
- fGetCmpyDetlCdList();
- var node = instance1.selectNodes("/root/temp/cmpyinfo/cmpy");
- var bizNode = null;
- if( node != null ) {
- ipt_insucorpbrchcd.value = model.getValue("/root/temp/cmpyinfo/cmpy/insucorpbrchcd");
- bizNode = instance1.selectNodes("/root/temp/cmpyinfo/biz");
- model.removeNodeset("/root/hidden/cmpyinfodetl/bizlst");
- if(bizNode.length > 0 ) {
- setCSVToNode( "/root/hidden/cmpyinfodetl" , getNodeListCSV(bizNode) ,"bizlst");
- }else {
- addComboItem("cmb_bizoffccd","ZZZZZZ","","above");
- model.removeNodeset("/root/hidden/cmpyinfodetl/deptlst");
- addComboItem("cmb_deptcd","ZZZZZZ","","above");
- }
- cmb_bizoffccd.refresh();
- cmb_deptcd.refresh();
- }
- ]]>
- </script>
- </button>
- <caption id="caption94" class="tit_2" style="left:865px; top:63px; width:105px; height:13px; ">패키지 검사</caption>
- <line id="line53" class="line_3" style="x1:860px; y1:83px; x2:1190px; y2:83px; "/>
- <select1 id="cmb_disccdlst" ref="/root/main/info/rsrvacptinfo/item/disccd" class="combo_default" navindex="32" appearance="minimal" style="left:566px; top:450px; width:211px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/pamcdlst/disccdlst">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var chkdisccd = model.getValue("/root/main/info/rsrvacptinfo/item/disccd");
- if(chkdisccd !="" ){
- model.makeValue("/root/main/info/rsrvacptinfo/item/dcamt" , model.getValue("/root/init/baseinfo/pamcdlst/disccdlst[cd='"+ chkdisccd+ "']/dcamt"));
- model.makeValue("/root/main/info/rsrvacptinfo/item/adddcamt" , model.getValue("/root/init/baseinfo/pamcdlst/disccdlst[cd='"+ chkdisccd+ "']/adddcamt"));
- }
- dcamt.refresh();
- adddcamt.refresh();
-
- if (parseInt(model.getXPathValue("count(/root/send/selpkgexam)")) > 0 ) {
- fSetReCalcAmt("Y");
- grd_addlst.rebuild();
- model.refresh();
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_insuflag" ref="/root/main/info/rsrvacptinfo/item/insuflag" class="combo_default" navindex="15" appearance="minimal" style="left:749px; top:294px; width:103px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/insuflag/A0109">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- // var insuflag = cmb_insuflag.value;
- //
- // if (insuflag == "2") {
- // ipt_subscrhngnm.disabled = false;
- // ipt_subscrrrgstno1.disabled = false;
- // ipt_subscrrrgstno2.disabled = false;
- // } else {
- // ipt_subscrhngnm.disabled = true;
- // ipt_subscrrrgstno1.disabled = true;
- // ipt_subscrrrgstno2.disabled = true;
- // }
- ]]>
- </script>
- </select1>
- <caption id="caption83" class="cell_1" style="left:310px; top:396px; width:70px; height:23px; vertical-align:middle; ">생애여부</caption>
- <caption id="caption72" class="cell_1" style="left:676px; top:240px; width:70px; height:23px; vertical-align:middle; ">휴대전화</caption>
- <caption id="caption61" class="tit_2" style="left:310px; top:115px; width:94px; height:13px; ">건진자 정보</caption>
- <line id="line31" class="line_1" style="x1:310px; y1:78px; x2:850px; y2:78px; "/>
- <output id="opt_totamt" ref="/root/main/info/rcptinfo/totamt" class="output_fix" format="#,###" style="left:1093px; top:726px; width:95px; height:19px; text-align:right; "/>
- <input id="opt_cmpynm" ref="/root/main/info/rsrvacptinfo/item/cmpynm" class="output_fix" disabled="true" navindex="40" imemode="alpha" style="left:511px; top:267px; width:160px; height:19px; "/>
- <caption id="caption95" class="cell_1" style="left:857px; top:698px; width:79px; height:23px; vertical-align:middle; ">공단부담금</caption>
- <line id="line54" class="line_1" style="x1:860px; y1:78px; x2:1190px; y2:78px; "/>
- <select1 id="combo19" ref="/root/main/info/rsrvacptinfo/item/jobkindflag" class="combo_default" navindex="16" appearance="minimal" style="left:384px; top:320px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/jobkindflag/A0112">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <datagrid id="grd_addlst" nodeset="/root/send/selpkgexam" caption="선택^검사구분^패키지코드^검사코드^검사명^청구구분^총금액^공단^개인^보건소^단체^할인금^검사일^건진분류^caption1" colsep="^" colwidth="34, 74, 72, 75, 100, 68, 75, 67, 67, 67, 67, 67, 90, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:310px; top:558px; width:876px; height:140px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="pkgflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/testflag/A0117">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="pkgcd"/>
- <col ref="testcd"/>
- <col ref="pkgnm"/>
- <col ref="uncocd" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </col>
- <col ref="totpayamt" type="input" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="payinsubamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="payownbamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="payhealcntrbamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="paycmpybamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="paydcbamt" type="input" format="#,###" style="text-align:right; "/>
- <col ref="hopedd" type="inputdate" format="yyyy-mm-dd" style="text-align:center; "/>
- <col ref="examflag"/>
- <col ref="m" visibility="hidden"/>
- <col ref="testdiscyn" visibility="hidden"/>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if(grd_addlst.col == grd_addlst.colRef("sel")) {
- fSetReCalcAmt();
- }
- ]]>
- </script>
- </datagrid>
- <caption id="caption84" class="cell_1" style="left:492px; top:396px; width:70px; height:23px; vertical-align:middle; ">간염검사</caption>
- <input id="input30" ref="/root/main/info/patinfo/item/mpphon" navindex="10" imemode="hangul" style="left:749px; top:242px; width:103px; height:19px; "/>
- <caption id="caption73" class="cell_1" style="left:310px; top:240px; width:70px; height:23px; vertical-align:middle; ">E-MAIL</caption>
- <output id="opt_age" ref="/root/main/info/patinfo/item/age" class="output_fix" style="left:426px; top:188px; width:45px; height:19px; "/>
- <caption id="caption62" class="cell_1" style="left:310px; top:161px; width:70px; height:23px; vertical-align:middle; ">성명</caption>
- <line id="line32" class="line_3" style="x1:310px; y1:107px; x2:850px; y2:107px; "/>
- <datagrid id="grd_pkglst" nodeset="/root/main/pkgaddlst/item" caption="선택^업체명^건진코드^명칭^단가(남)^단가(여)^계약기간^계약기간^conseq^pkgflag^uncocd" colsep="^" colwidth="35, 100, 80, 198, 70, 81, 59, 65, 60, 54, 100" dataheight="25" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:860px; top:105px; width:326px; height:320px; ">
- <col checkvalue="Y,N" ref="sel" type="checkbox"/>
- <col ref="cmpynm" visibility="hidden"/>
- <col ref="pkgcd"/>
- <col ref="pkgnm"/>
- <col ref="mancnfmamt" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="womcnfmamt" visibility="hidden" format="#,###" style="text-align:right; "/>
- <col ref="confromdd" visibility="hidden"/>
- <col ref="contodd" visibility="hidden"/>
- <col ref="conseq" visibility="hidden"/>
- <col ref="pkgflag" visibility="hidden"/>
- <col ref="uncocd" visibility="hidden"/>
- <col ref="uncoflag" visibility="hidden"/>
- <col ref="calcscorcd" visibility="hidden"/>
- <col ref="grupflag" visibility="hidden"/>
- </datagrid>
- <caption id="caption85" class="cell_1" style="left:676px; top:396px; width:70px; height:23px; vertical-align:middle; ">위암</caption>
- <input id="input31" ref="/root/main/info/patinfo/item/telno" class="input_default" navindex="9" imemode="alpha" style="left:565px; top:242px; width:105px; height:19px; "/>
- <caption id="caption74" class="cell_1" style="left:492px; top:240px; width:70px; height:23px; vertical-align:middle; ">전화번호</caption>
- <input id="input20" ref="/root/main/info/patinfo/item/zipcd21" class="output_fix" navindex="10" format="999" style="left:384px; top:215px; width:30px; height:19px; "/>
- <output id="opt_sex" ref="/root/main/info/patinfo/item/sex" class="output_fix" style="left:384px; top:188px; width:40px; height:19px; "/>
- <caption id="caption63" class="cell_1" style="left:310px; top:213px; width:70px; height:24px; vertical-align:middle; ">발송주소</caption>
- <caption id="caption52" class="cell_1" style="left:1020px; top:724px; width:69px; height:23px; vertical-align:middle; ">합계금액</caption>
- <input id="ipt_rgstno2" ref="/root/main/info/patinfo/item/rgstno2" class="input_essential" navindex="2" imemode="hangul" format="9999999" style="left:625px; top:162px; width:75px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( (getStringLength(model.getValue("/root/main/info/patinfo/item/rgstno2")) > 6) && (getStringLength(model.getValue("/root/main/info/patinfo/item/rgstno1")) > 5) ){
- //주민번호로 환자 검색
- fSetBrthDD();
- fGetPatInfo(1);
- /*
- fGetDetlInfoHid();
- //직원정보관련 setting
- fSetPsnWorkInfo();
- model.makeValue("/root/main/info/rsrvacptinfo/item/choiflag",model.getValue("/root/main/info/patinfo/item/choiflag"));
- */
- model.refresh();
- }
- ]]>
- </script>
- </input>
- <output id="opt_payinsubamt" ref="/root/main/info/rcptinfo/payinsubamt" class="output_fix" format="#,###" style="left:939px; top:700px; width:80px; height:19px; text-align:right; "/>
- <caption id="caption86" class="cell_1" style="left:310px; top:422px; width:70px; height:23px; vertical-align:middle; ">대장암</caption>
- <caption id="caption75" class="cell_1" style="left:676px; top:318px; width:70px; height:23px; vertical-align:middle; ">보건소</caption>
- <input id="input32" ref="/root/main/info/rsrvacptinfo/item/armyhos" disabled="true" navindex="19" imemode="hangul" style="left:384px; top:346px; width:105px; height:19px; "/>
- <select id="chk_healexamdetlflag" ref="/root/main/info/rsrvacptinfo/item/healexamdetlflag" overflow="visible" appearance="full" cols="5" sep="^" style="left:384px; top:85px; width:75px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>공단건진</label>
- <value>G01</value>
- </item>
- </choices>
- </select>
- <input id="input21" ref="/root/main/info/patinfo/item/zipcd22" class="output_fix" navindex="11" format="999" style="left:426px; top:215px; width:30px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var term = model.getValue("/root/main/info/patinfo/item/zipcd21")+model.getValue("/root/main/info/patinfo/item/zipcd22");
- if (term.length == 6) {
- model.makeValue("/root/main/search/condition", "zipcode");
- model.makeValue("/root/main/search/term", term);
- model.makeValue("/root/send/searchcondition", "zipcode");
- model.makeValue("/root/send/searchterm", "%"+term+"%");
- model.makeValue("/root/send/searchterm", "%"+term+"%");
- submit("TRZBP00102");
- var address = model.getValue("/root/main/zipcodelist/zipcode/prunningaddress");
- var address_detail_origin = model.getValue("/root/main/zipcodelist/zipcode/address");
- var address_detail = address_detail_origin.replace(address, "").getTrim();
-
- model.setValue("/root/main/info/patinfo/item/zipcdseq2",model.getValue("/root/main/zipcodelist/zipcode/seqno"));
- model.setValue("/root/main/info/patinfo/item/addr2",address);
- model.setValue("/root/main/info/patinfo/item/detladdr2",address_detail);
-
- input22.refresh();
- input23.refresh();
- }
- ]]>
- </script>
- </input>
- <caption id="caption64" class="search_n_b" style="left:415px; top:215px; width:12px; height:19px; font-weight:bolder; ">-</caption>
- <line id="line34" class="line_1" style="x1:311px; y1:554px; x2:1186px; y2:554px; "/>
- <caption id="caption53" class="cell_1" style="left:857px; top:724px; width:79px; height:23px; vertical-align:middle; ">사업체부담액</caption>
- <caption id="caption87" class="cell_1" style="left:676px; top:422px; width:70px; height:23px; vertical-align:middle; ">유방암</caption>
- <caption id="caption76" class="cell_1" style="left:310px; top:344px; width:70px; height:23px; vertical-align:middle; ">군 병원</caption>
- <input id="input33" ref="/root/main/info/rsrvacptinfo/item/healcntrcd" navindex="18" imemode="hangul" style="left:749px; top:320px; width:103px; height:19px; "/>
- <caption id="caption65" class="cell_1" style="left:310px; top:292px; width:70px; height:23px; vertical-align:middle; ">증번호</caption>
- <input id="input22" ref="/root/main/info/patinfo/item/addr2" class="output_fix" navindex="39" style="left:477px; top:215px; width:155px; height:19px; "/>
- <line id="line35" class="line_1" style="x1:310px; y1:155px; x2:850px; y2:155px; "/>
- <caption id="caption54" class="cell_1" style="left:1020px; top:698px; width:69px; height:23px; vertical-align:middle; ">개인부담액</caption>
- <caption id="caption88" class="cell_1" style="left:310px; top:448px; width:70px; height:23px; vertical-align:middle; ">자궁경부</caption>
- <caption id="caption77" class="cell_1" style="left:492px; top:318px; width:70px; height:23px; vertical-align:middle; ">소속지사</caption>
- <input id="ipt_insucorpbrchcd" ref="/root/main/info/rsrvacptinfo/item/insucorpbrchcd" class="input_default" navindex="17" imemode="alpha" style="left:565px; top:320px; width:105px; height:19px; "/>
- <caption id="caption66" class="cell_1" style="left:310px; top:266px; width:70px; height:23px; vertical-align:middle; ">사업장코드</caption>
- <input id="input23" ref="/root/main/info/patinfo/item/detladdr2" class="input_default" navindex="6" imemode="hangul" maxlength="100" style="left:635px; top:215px; width:216px; height:19px; "/>
- <caption id="caption55" class="tit_2" style="left:310px; top:62px; width:144px; height:13px; ">예약/접수정보</caption>
- <line id="line59" class="line_2" style="x1:860px; y1:722px; x2:1190px; y2:722px; "/>
- <caption id="caption89" class="cell_1" style="left:492px; top:422px; width:70px; height:23px; vertical-align:middle; ">간암</caption>
- <input id="input35" ref="/root/main/info/rsrvacptinfo/item/clntempid" navindex="22" imemode="hangul" style="left:384px; top:372px; width:105px; height:19px; "/>
- <caption id="caption78" class="cell_1" style="left:492px; top:344px; width:70px; height:23px; vertical-align:middle; ">부서</caption>
- <caption id="caption67" class="cell_1" style="left:676px; top:266px; width:70px; height:23px; vertical-align:middle; ">영업소</caption>
- <input id="ipt_pnm" ref="/root/main/info/patinfo/item/hngnm" class="input_essential" navindex="3" imemode="hangul" style="left:384px; top:162px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_selpat", "DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="prtgubun" ref="/root/send/prtgubun" class="combo_default" visibility="hidden" appearance="minimal" style="left:385px; top:725px; width:141px; height:19px; ">
- <choices>
- <item>
- <label>기록지</label>
- <value>1</value>
- </item>
- <item>
- <label>문진표</label>
- <value>2</value>
- </item>
- </choices>
- </select1>
- <line id="line49" class="line_2" style="x1:311px; y1:498px; x2:851px; y2:498px; "/>
- <caption id="caption79" class="cell_1" style="left:676px; top:344px; width:70px; height:23px; vertical-align:middle; ">입사/병과</caption>
- <input id="input36" ref="/root/main/info/rsrvacptinfo/item/entcodd" navindex="21" imemode="hangul" style="left:749px; top:346px; width:103px; height:19px; "/>
- <caption id="caption68" class="cell_1" style="left:310px; top:318px; width:70px; height:23px; vertical-align:middle; ">직종구분</caption>
- <input id="ipt_cmpycd" ref="/root/main/info/rsrvacptinfo/item/cmpycd" class="input_default" navindex="11" imemode="alpha" style="left:384px; top:267px; width:104px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_srchcmpy", "DOMActivate");
- ]]>
- </script>
- </input>
- <line id="line38" class="line_3" style="x1:0px; y1:748px; x2:305px; y2:748px; "/>
- <caption id="caption57" class="cell_1" style="left:310px; top:83px; width:70px; height:23px; vertical-align:middle; ">검진종류</caption>
- <select1 id="combo20" ref="/root/main/info/rsrvacptinfo/item/plceflag" class="combo_default" navindex="23" appearance="minimal" style="left:565px; top:372px; width:105px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/plceflag/A0110">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption69" class="cell_1" style="left:492px; top:292px; width:70px; height:23px; vertical-align:middle; ">직역구분</caption>
- <caption id="caption58" class="cell_1" style="left:310px; top:187px; width:70px; height:23px; vertical-align:middle; ">성별/나이</caption>
- <select1 id="combo21" class="combo_default" navindex="24" appearance="minimal" style="left:749px; top:372px; width:103px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/plceflag/A0110">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <input id="input38" ref="/root/main/info/rsrvacptinfo/item/remcnts" class="input_essential" navindex="33" imemode="hangul" style="left:384px; top:476px; width:466px; height:19px; "/>
- <caption id="caption59" class="cell_1" style="left:492px; top:161px; width:70px; height:23px; vertical-align:middle; ">주민번호</caption>
- <select1 id="cmb_bizoffccd" ref="/root/main/info/rsrvacptinfo/item/bizoffccd" navindex="12" appearance="minimal" style="left:749px; top:267px; width:103px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/cmpyinfodetl/bizlst">
- <label ref="bizoffcnm"/>
- <value ref="bizoffccd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var selBizOffcCd = cmb_bizoffccd.value;
-
- var deptNode = instance1.selectNodes("/root/temp/cmpyinfo/dept[bizoffccd='" +selBizOffcCd + "']");
- model.removeNodeset("/root/hidden/cmpyinfodetl/deptlst");
- if(deptNode.length > 0) {
- setCSVToNode( "/root/hidden/cmpyinfodetl" , getNodeListCSV(deptNode) ,"deptlst");
- }else {
- addComboItem("cmb_deptcd","ZZZZZZ","","above");
- }
- cmb_deptcd.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="combo22" ref="/root/main/info/rsrvacptinfo/item/oraltestyn" class="combo_default" navindex="25" appearance="minimal" style="left:383px; top:398px; width:105px; height:19px; ">
- <choices>
- <item>
- <label>생애전환기</label>
- <value>Y</value>
- </item>
- <item>
- <label>일반건진</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <input id="input28" ref="/root/main/info/rsrvacptinfo/item/acpt_insuid" class="input_essential" navindex="13" visibility="15" imemode="hangul" style="left:384px; top:294px; width:105px; height:19px; "/>
- <select1 id="cmb_deptcd" ref="/root/main/info/rsrvacptinfo/item/deptcd" navindex="20" appearance="minimal" style="left:565px; top:346px; width:103px; height:19px; ">
- <choices>
- <itemset nodeset="/root/hidden/cmpyinfodetl/deptlst">
- <label ref="deptnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="combo23" ref="/root/main/info/rsrvacptinfo/item/scndhptstrgtyn" class="combo_default" navindex="26" appearance="minimal" style="left:565px; top:398px; width:105px; height:19px; ">
- <choices>
- <item>
- <label>대상</label>
- <value>Y</value>
- </item>
- <item>
- <label>비대상</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_emailid" ref="/root/main/info/patinfo/item/emailid" navindex="7" style="left:384px; top:242px; width:45px; height:19px; "/>
- <input id="ipt_emailtype" ref="/root/main/info/patinfo/item/emailtype" navindex="8" style="left:430px; top:242px; width:60px; height:19px; "/>
- <button id="button11" class="icon_search" navindex="5" style="left:460px; top:215px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- ahafSetAddr(2, "/root/main/info/patinfo/item","combination");
- ]]>
- </script>
- </button>
- <button id="button12" class="btn2_letter2" visibility="hidden" style="left:527px; top:725px; width:42px; height:19px; ">
- <caption>출력</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (prtgubun.value =="1"){
- fPrntChrt();
- }
- ]]>
- </script>
- </button>
- <select1 id="combo24" ref="/root/main/info/rsrvacptinfo/item/stmccncrflag" class="combo_default" navindex="27" appearance="minimal" style="left:749px; top:398px; width:103px; height:19px; ">
- <choices>
- <item>
- <label>대상아님</label>
- <value>1</value>
- </item>
- <item>
- <label>10%부담</label>
- <value>2</value>
- </item>
- <item>
- <label>공단부담</label>
- <value>3</value>
- </item>
- <item>
- <label>보건소부담</label>
- <value>4</value>
- </item>
- <item>
- <label>수검완료</label>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <input id="ipt_rgstno1" ref="/root/main/info/patinfo/item/rgstno1" class="input_essential" navindex="1" imemode="hangul" format="999999" style="left:565px; top:162px; width:51px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- ]]>
- </script>
- </input>
- <line id="line60" class="line_2" style="x1:857px; y1:721px; x2:1187px; y2:721px; "/>
- <select1 id="combo25" ref="/root/main/info/rsrvacptinfo/item/largeintescncrflag" class="combo_default" navindex="28" appearance="minimal" style="left:384px; top:424px; width:105px; height:19px; ">
- <choices>
- <item>
- <label>대상아님</label>
- <value>1</value>
- </item>
- <item>
- <label>10%부담</label>
- <value>2</value>
- </item>
- <item>
- <label>공단부담</label>
- <value>3</value>
- </item>
- <item>
- <label>보건소부담</label>
- <value>4</value>
- </item>
- <item>
- <label>수검완료</label>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <caption id="caption90" class="cell_1" style="left:310px; top:474px; width:70px; height:23px; vertical-align:middle; ">전달사항</caption>
- <select1 id="combo26" ref="/root/main/info/rsrvacptinfo/item/livcncrflag" class="combo_default" navindex="29" appearance="minimal" style="left:565px; top:424px; width:105px; height:19px; ">
- <choices>
- <item>
- <label>대상아님</label>
- <value>1</value>
- </item>
- <item>
- <label>10%부담</label>
- <value>2</value>
- </item>
- <item>
- <label>공단부담</label>
- <value>3</value>
- </item>
- <item>
- <label>보건소부담</label>
- <value>4</value>
- </item>
- <item>
- <label>수검완료</label>
- <value>5</value>
- </item>
- </choices>
- </select1>
- <caption id="caption91" class="cell_1" style="left:492px; top:448px; width:70px; height:23px; vertical-align:middle; ">할인계정</caption>
- <caption id="caption80" class="cell_1" style="left:310px; top:370px; width:70px; height:23px; vertical-align:middle; ">사번/군번</caption>
- <input id="ipt_brthdd" ref="/root/main/info/patinfo/item/brthdd" class="input_essential" navindex="38" visibility="hidden" imemode="alpha" style="left:560px; top:49px; width:55px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( (getStringLength(model.getValue("/root/main/info/patinfo/item/rgstno2")) > 6) && (getStringLength(model.getValue("/root/main/info/patinfo/item/rgstno1")) > 5) ){
- //주민번호로 환자 검색
- fSetBrthDD();
- fGetPatInfo(1);
- /*
- fGetDetlInfoHid();
- //직원정보관련 setting
- fSetPsnWorkInfo();
- model.makeValue("/root/main/info/rsrvacptinfo/item/choiflag",model.getValue("/root/main/info/patinfo/item/choiflag"));
- */
- model.refresh(); ;
- }
- ]]>
- </script>
- </input>
- <input id="ipt_pid1" ref="/root/main/info/patinfo/item/pid" class="input_essential" navindex="37" visibility="hidden" imemode="hangul" style="left:505px; top:49px; width:55px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( (getStringLength(model.getValue("/root/main/info/patinfo/item/rgstno2")) > 6) && (getStringLength(model.getValue("/root/main/info/patinfo/item/rgstno1")) > 5) ){
- //주민번호로 환자 검색
- fSetBrthDD();
- fGetPatInfo(1);
- /*
- fGetDetlInfoHid();
- //직원정보관련 setting
- fSetPsnWorkInfo();
- model.makeValue("/root/main/info/rsrvacptinfo/item/choiflag",model.getValue("/root/main/info/patinfo/item/choiflag"));
- */
- model.refresh(); ;
- }
- ]]>
- </script>
- </input>
- <button id="button1" class="btn_sw" group="tab" style="left:124px; top:54px; width:60px; height:22px; ">
- <caption>접수</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_acpt");
- model.makeValue("/root/send/dgflag", "1" );
- fGetList();
- ]]>
- </script>
- </button>
- <button id="btn_cncllst" class="btn_sw" visibility="hidden" group="tab" style="left:184px; top:54px; width:70px; height:22px; ">
- <caption>2차검진</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_cncl");
- model.makeValue("/root/send/dgflag", "2" );
- fGetList();
- ]]>
- </script>
- </button>
- <switch id="swt_acptlst" style="left:0px; top:77px; width:300px; height:665px; border-color:#c7a3cf; border-style:solid; ">
- <case id="case_rsrv">
- <datagrid id="grd_rsrvlst" nodeset="/root/main/list/rsrvlst" caption="성명^등록번호^나이^성별^나이/성별^사업체명^구분^예약일시^예약등록일자^최종수정자^최종수정일시^패키지명^rsrvno^engnm^hopedd^rgstno1^rgstno2^pkgcd^brthareacnts" colsep="^" colwidth="52, 56, 30, 30, 66, 65, 55, 90, 80, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:285px; height:645px; ">
- <col explorerbar="sortshow" ref="pnm"/>
- <col explorerbar="sortshow" ref="pid"/>
- <col explorerbar="sortshow" ref="sex"/>
- <col explorerbar="sortshow" ref="age"/>
- <col explorerbar="sortshow" ref="sexage" visibility="hidden"/>
- <col explorerbar="sortshow" ref="cmpynm"/>
- <col explorerbar="sortshow" disabled="true" ref="statflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/statlst/A0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col explorerbar="sortshow" ref="rsrvdttm" format="yyyy-mm-dd hh:nn"/>
- <col explorerbar="sortshow" ref="rsrvdd" format="yyyy-mm-dd"/>
- <col explorerbar="sortshow" ref="lastupdtrid"/>
- <col explorerbar="sortshow" ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col explorerbar="sortshow" ref="pkgnm"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="engnm" visibility="hidden"/>
- <col ref="hopedd" visibility="hidden"/>
- <col ref="rgstno1" visibility="hidden"/>
- <col ref="rgstno2" visibility="hidden"/>
- <col ref="pkgcd" visibility="hidden"/>
- <col ref="brthareacnts" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- ahafGetGnrlRsrvAcptDetl(1);
- setGnrlCmpyInfo();
- fSetReCalcAmt();
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_rsrvlst.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case_rsrvent">
- <datagrid id="grd_rsrventlst" nodeset="/root/main/list/rsrvlst" caption="성명^등록번호^나이^성별^나이/성별^사업체명^구분^예약일시^예약등록일자^최종수정자^최종수정일시^패키지명^rsrvno^engnm^hopped^rgstno1^rgstno2^pkgcd^brthareacnts" colsep="^" colwidth="52, 56, 30, 30, 66, 65, 55, 90, 80, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:285px; height:645px; ">
- <col explorerbar="sortshow" ref="pnm"/>
- <col explorerbar="sortshow" ref="pid"/>
- <col explorerbar="sortshow" ref="sex"/>
- <col explorerbar="sortshow" ref="age"/>
- <col explorerbar="sortshow" ref="sexage" visibility="hidden"/>
- <col explorerbar="sortshow" ref="cmpynm"/>
- <col disabled="true" ref="statflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/statlst/A0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col explorerbar="sortshow" ref="rsrvdttm" format="yyyy-mm-dd hh:nn"/>
- <col explorerbar="sortshow" ref="rsrvdd" format="yyyy-mm-dd"/>
- <col explorerbar="sortshow" ref="lastupdtrid"/>
- <col explorerbar="sortshow" ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col explorerbar="sortshow" ref="pkgnm"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="engnm" visibility="hidden"/>
- <col ref="hopedd" visibility="hidden"/>
- <col ref="rgstno1" visibility="hidden"/>
- <col ref="rgstno2" visibility="hidden"/>
- <col ref="pkgcd" visibility="hidden"/>
- <col explorerbar="sortshow" ref="brthareacnts"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- ahafGetGnrlRsrvAcptDetl(2);
- setGnrlCmpyInfo();
- fSetReCalcAmt();
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case_acpt" selected="true" style="left:0px; top:0px; width:298px; height:665px; ">
- <datagrid id="grd_acptlst" nodeset="/root/main/list/acptlst" caption="성명^등록번호^성별^나이^나이/성별^접수구분^수납상태^사업체명^접수일시^최종수정자^최종수정일시^패키지명^rsrvdd^rsrvno^engnm^hopedd^rgstno1^rgstno2^pkgcd^brthareacnts" colsep="^" colwidth="52, 56, 30, 30, 66, 54, 56, 65, 68, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:285px; height:645px; ">
- <col explorerbar="sortshow" ref="pnm"/>
- <col explorerbar="sortshow" ref="pid"/>
- <col explorerbar="sortshow" ref="sex"/>
- <col explorerbar="sortshow" ref="age"/>
- <col explorerbar="sortshow" ref="sexage" visibility="hidden"/>
- <col explorerbar="sortshow" disabled="true" ref="statflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/statlst/A0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col explorerbar="sortshow" ref="rcptstatyn" type="combo">
- <choices>
- <item>
- <label>수납</label>
- <value>Y</value>
- </item>
- <item>
- <label>미수납</label>
- <value>N</value>
- </item>
- </choices>
- </col>
- <col explorerbar="sortshow" ref="cmpynm"/>
- <col explorerbar="sortshow" ref="rsrvdttm" format="yyyy-mm-dd hh:nn"/>
- <col explorerbar="sortshow" ref="lastupdtrid"/>
- <col explorerbar="sortshow" ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col explorerbar="sortshow" ref="pkgnm"/>
- <col ref="rsrvdd" visibility="hidden"/>
- <col ref="rsrvno" visibility="hidden"/>
- <col ref="engnm" visibility="hidden"/>
- <col ref="hopedd" visibility="hidden"/>
- <col ref="rgstno1" visibility="hidden"/>
- <col ref="rgstno2" visibility="hidden"/>
- <col ref="pkgcd" visibility="hidden"/>
- <col ref="brthareacnts" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- datagrid6.removeRow(false);
- model.makeNode("/root/main/info/judgone");
- model.removeNodeset("/root/send/selpkgexam");
- ahafGetGnrlRsrvAcptDetl(3);
- datagrid6.rebuild();
- fInsuCnts();
- setGnrlCmpyInfo();
- fSetReCalcAmt();
- fInitPkgList();
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_acptlst.gridToInstance();
- ]]>
- </script>
- </datagrid>
- </case>
- <case id="case_cncl">
- <datagrid id="grd_cncllst" nodeset="/root/main/list/cncllst" caption="성명^등록번호^나이^성별^나이/성별^사업체명^취소시간^구분^최종수정자^최종수정일시^패키지명^rsrvdd^rsrvno^engnm^hopedd^rgstno1^rgstno2^pkgcd^brthareacnts" colsep="^" colwidth="69, 68, 30, 30, 66, 100, 78, 59, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:285px; height:645px; ">
- <col ref="pnm"/>
- <col ref="pid"/>
- <col ref="sex"/>
- <col ref="age"/>
- <col ref="sexage" visibility="hidden"/>
- <col ref="cmpynm"/>
- <col ref="cncldttm" format="yyyy-mm-dd hh:nn"/>
- <col ref="statflag" type="combo">
- <choices>
- <itemset nodeset="/root/init/baseinfo/statlst/A0107">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </col>
- <col ref="lastupdtrid"/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
- <col ref="pkgnm"/>
- <col ref="rsrvdd"/>
- <col ref="rsrvno"/>
- <col ref="engnm"/>
- <col ref="hopedd"/>
- <col ref="rgstno1"/>
- <col ref="rgstno2"/>
- <col ref="pkgcd"/>
- <col ref="brthareacnts"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- datagrid6.removeRow(false);
- model.makeNode("/root/main/info/judgone");
- ahafGetGnrlRsrvAcptDetl(4);
- setGnrlCmpyInfo();
- fSetReCalcAmt();
- datagrid6.rebuild();
- model.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="oncopy">
- <![CDATA[
- grid_oncopy();
- ]]>
- </script>
- </datagrid>
- </case>
- </switch>
- <button id="btn_rsrventlst" class="btn_sw" group="tab" selected="true" style="left:60px; top:54px; width:65px; height:22px; ">
- <caption>예약등록</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_rsrvent");
- fGetList();
- ]]>
- </script>
- </button>
- <button id="btn_rsrvlst" class="btn_sw" group="tab" selected="true" style="left:0px; top:54px; width:60px; height:22px; ">
- <caption>예약</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_rsrv");
- fGetList();
- ]]>
- </script>
- </button>
- <button id="btn_tag" class="btn2_letter6" visibility="hidden" style="left:615px; top:49px; width:86px; height:19px; ">
- <caption>수진자격조회</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- ]]>
- </script>
- </button>
- <caption id="cap_rsrvtm" class="cell_1" style="left:660px; top:130px; width:61px; height:23px; vertical-align:middle; ">예약시간</caption>
- <input id="ipt_rsrvtm" ref="/root/main/info/rsrvacptinfo/item/rsrvtm" class="input_default" disabled="true" format="hh:nn" style="left:724px; top:132px; width:56px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_pnm");
- ]]>
- </script>
- </input>
- <caption id="cap_orddd" class="cell_1" style="left:310px; top:130px; width:70px; height:23px; vertical-align:middle; ">접수일자</caption>
- <caption id="caption2" class="cell_1" style="left:492px; top:130px; width:70px; height:23px; vertical-align:middle; ">예약일자</caption>
- <input id="ipt_orddd" ref="/root/main/info/rsrvacptinfo/item/orddd" class="input_essential" disabled="true" inputtype="date" style="left:384px; top:132px; width:98px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_rsrvdd");
- ]]>
- </script>
- </input>
- <input id="ipt_rsrvdd" ref="/root/main/info/rsrvacptinfo/item/hopedd" class="input_essential" disabled="true" inputtype="date" style="left:565px; top:132px; width:93px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- fMoveFocus("ipt_rsrvtm");
- ]]>
- </script>
- </input>
- <button id="btn_totrsrvdt" class="btn2_letter4" style="left:785px; top:132px; width:64px; height:19px; ">
- <caption>예약시간</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //예약시간선택 버튼 클릭시 성별이없으면 조회 조건이 맞지 않아 예약인원이 정상적으로 나오지 않으므로 주민번호 입력유도
- var chk = model.getValue("/root/main/info/patinfo/item/sex");
- if(chk == ""){
- messageBox("주민번호를 ", "C001");
- return false;
- }else{
- fGetRsrvDateTime("T", ipt_rsrvdd , ipt_rsrvtm);
- }
- ]]>
- </script>
- </button>
- <select1 id="cmb_brthareacnts" visibility="hidden" appearance="minimal" style="left:265px; top:47px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>combo1</label>
- <value>combo1</value>
- </item>
- </choices>
- </select1>
- <button id="btn_savepatinfo" class="btn5_letter6" visibility="visible" style="left:587px; top:188px; width:86px; height:19px; ">
- <caption>인적사항저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var chkpid = model.getValue("/root/main/info/patinfo/item/pid");
- if(chkpid == ""){ messageBox("등록번호가 없으므로 인적사항을 저장", "E001"); return false;
- }else{
- if( messageBox("건진자 인적사항을 ", "Q002") == 6 ) {
- fSavePatInfo("N");
- }
- }//else end
- ]]>
- </script>
- </button>
- <caption id="caption3" class="cell_1" style="left:705px; top:160px; width:70px; height:23px; vertical-align:middle; ">등록번호</caption>
- <input id="ipt_pid" ref="/root/main/info/patinfo/item/pid" class="input_essential" navindex="4" imemode="hangul" style="left:780px; top:162px; width:71px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13) {
- fInitRsrvAcptInfo();
- fGetPatInfo(2);
- fGetDetlInfoHid();
- // fDcAmtCalc();
- }
- ]]>
- </script>
- </input>
- <select1 id="cmb_healexamdetlflag" visibility="hidden" appearance="minimal" style="left:370px; top:47px; width:100px; height:19px; ">
- <choices>
- <item>
- <label>combo1</label>
- <value>combo1</value>
- </item>
- </choices>
- </select1>
- <output id="opt_realamt" ref="/root/main/info/rcptinfo/realamt" class="font_pid" visibility="hidden" format="(-,+)#,###" style="left:600px; top:692px; width:82px; height:65px; text-align:right; vertical-align:bottom; "/>
- <button id="btn_searchadd" class="btn2_letter4" style="left:1055px; top:56px; width:64px; height:19px; ">
- <caption>추가검사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetPkgCd("SMAHA00100", "A", "Y","nm" , "" , cmb_healexamdetlflag.value, opt_sex.value, "/root/temp/templst","","",ageCalc(model.getValue("/root/main/info/patinfo/item/rgstno1") , model.getValue("/root/main/info/patinfo/item/rgstno2") ));
- // fGetPkgCd("SMAHA00100", "C", "N","nm" , "" , cmb_healexamdetlflag.value, opt_sex.value , "/root/main/info/rs" ,"","pkg",);
- //fSetAddList 함수에서 선택한 추가검사 중복 체크
-
- var crow = grd_addlst.rows;
- fSetGnrlAddList(grd_addlst, 3, "/root/temp/templst/list", "Y","", model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd"));
- // fSetAddAmt();
- fSetReCalcAmt("Y");
- grd_addlst.rebuild();
- model.refresh();
-
- ]]>
- </script>
- </button>
- <button id="btn_ordmgt" class="btn2_letter4" style="left:1122px; top:56px; width:64px; height:19px; ">
- <caption>처방관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- setParameter ("SMAHA00700_PARAM1" , model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag") );
- setParameter ("SMAHA00700_PARAM2" , model.getValue( ipt_pid.attribute("ref")) );
- modal("SMAHA04060");
- ]]>
- </script>
- </button>
- <line id="line1" class="line_2" style="x1:310px; y1:184px; x2:850px; y2:184px; "/>
- <line id="line2" class="line_2" style="x1:310px; y1:211px; x2:850px; y2:211px; "/>
- <line id="line3" class="line_2" style="x1:310px; y1:238px; x2:850px; y2:238px; "/>
- <line id="line4" class="line_2" style="x1:311px; y1:264px; x2:851px; y2:264px; "/>
- <line id="line5" class="line_2" style="x1:311px; y1:315px; x2:851px; y2:315px; "/>
- <line id="line6" class="line_2" style="x1:311px; y1:342px; x2:851px; y2:342px; "/>
- <line id="line7" class="line_2" style="x1:310px; y1:368px; x2:850px; y2:368px; "/>
- <line id="line8" class="line_2" style="x1:310px; y1:394px; x2:850px; y2:394px; "/>
- <line id="line9" class="line_2" style="x1:310px; y1:420px; x2:850px; y2:420px; "/>
- <line id="line10" class="line_2" style="x1:310px; y1:446px; x2:850px; y2:446px; "/>
- <line id="line11" class="line_2" style="x1:310px; y1:472px; x2:850px; y2:472px; "/>
- <!--2010.04.08 mykim 공단건진 2010년도 청구 자료연계시 변경 -->
- <!--caption id="caption1" class="cell_1" style="left:310px; top:500px; width:70px; height:23px; vertical-align:middle; ">가입자성명</caption>
- <input id="ipt_subscrhngnm" ref="/root/main/info/rsrvacptinfo/item/subscrhngnm" class="input_default" navindex="34" imemode="hangul" style="left:384px; top:502px; width:105px; height:19px; "/>
- <caption id="caption4" class="cell_1" style="left:492px; top:500px; width:70px; height:23px; vertical-align:middle; ">주민번호</caption>
- <input id="ipt_subscrrrgstno1" ref="/root/main/info/rsrvacptinfo/item/subscrrrgstno1" class="input_default" navindex="35" format="999999" style="left:566px; top:502px; width:51px; height:19px; "/>
- <input id="ipt_subscrrrgstno2" ref="/root/main/info/rsrvacptinfo/item/subscrrrgstno2" class="input_default" navindex="36" format="9999999" style="left:620px; top:502px; width:75px; height:19px; "/-->
- <caption id="caption1" class="cell_1" style="left:310px; top:500px; width:131px; height:23px; vertical-align:middle; ">건강검진 결과활용동의</caption>
- <line id="line12" class="line_3" style="x1:310px; y1:524px; x2:850px; y2:524px; "/>
- <caption id="caption21" class="cell_1" style="left:492px; top:83px; width:70px; height:23px; vertical-align:middle; ">건진장소</caption>
- <select1 id="cmb_place" ref="/root/main/info/rsrvacptinfo/item/healexamplacecd" class="combo_essential" disabled="true" appearance="minimal" style="left:565px; top:85px; width:93px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamplacelst/S600">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="rdo_healexamplacecd" ref="/root/init/place/healexamplacecd" appearance="full" cols="2" overflow="visible" style="left:695px; top:55px; width:155px; height:20px; border-style:none; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/healexamplacelst/S600">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var healexamplacecd = model.getValue("/root/main/info/rsrvacptinfo/item/healexamplacecd");
- var statFlag = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
- if(statFlag < 'E') {
- model.setValue( "/root/main/info/rsrvacptinfo/item/healexamplacecd", rdo_healexamplacecd.value);
- }else {
- model.setValue( "/root/main/info/rsrvacptinfo/item/healexamplacecd", healexamplacecd == ""||healexamplacecd == "-" ? rdo_healexamplacecd.value:healexamplacecd);
- }
- cmb_place.refresh();
-
- ]]>
- </script>
- </select1>
- <button id="btn_selpat" class="icon_search" style="left:473px; top:163px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitRsrvAcptInfo();
- fSearchPatInfo("SMAHA04030", "pnm", ipt_pnm.currentText , "Y", "/root/main/info/patinfo/item");
- fGetDetlInfoHid();
- model.makeValue("/root/main/info/rsrvacptinfo/item/choiflag",model.getValue("/root/main/info/rsrvacptinfo/item/choiflag"));
- //chk_healexamdetlflag.select(0);
- model.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_savegnrlinfo" class="btn5_letter8" visibility="visible" style="left:477px; top:188px; width:108px; height:19px; ">
- <caption>수진자격정보저장</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var v_rcptstat=model.getValue("/root/main/info/rsrvacptinfo/item/rcptstat");
- var v_pid=model.getValue("/root/main/info/rsrvacptinfo/item/pid");
- if(v_rcptstat == ""){ messageBox("사업장정보를 저장", "E001"); return false;
- }else{
- if( messageBox("건진자 수진자격정보를 ", "Q002") == 6 ) {
- fSaveGnrlInfo("N");
- }
- }//else end
- ]]>
- </script>
- </button>
- <caption id="caption5" class="cell_1" style="left:687px; top:724px; width:79px; height:23px; text-align:center; vertical-align:middle; ">할인금액</caption>
- <output id="opt_paydcamt" ref="/root/main/info/rcptinfo/paydcamt" class="output_fix" format="#,###" style="left:770px; top:726px; width:80px; height:19px; text-align:right; "/>
- <caption id="caption7" class="cell_1" style="left:687px; top:700px; width:79px; height:23px; vertical-align:middle; ">보건소부담금</caption>
- <output id="opt_payhealcntramt" ref="/root/main/info/rcptinfo/payhealcntramt" class="output_fix" format="#,###" style="left:769px; top:702px; width:80px; height:19px; text-align:right; "/>
- <select1 id="rdo_pkgaddlist" ref="/root/main/info/rsrvacptinfo/item/etccd" appearance="full" cols="3" overflow="visible" style="left:860px; top:85px; width:322px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>기본패키지</label>
- <value>F13</value>
- </item>
- <item>
- <label>추가패키지</label>
- <value>F14</value>
- </item>
- <item>
- <label>2차검사</label>
- <value>F15</value>
- </item>
- </choices>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- model.makeValue("/root/send/srchpkgflag", "");
- model.makeValue("/root/send/srchhealexamflag", "G");
- model.makeValue("/root/send/srchhealexamdetlflag" , model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag"));
- model.makeValue("/root/send/srchetccd" , model.getValue("/root/main/info/rsrvacptinfo/item/etccd"));
- submit("TRAHA00431");
- for (i = 1; i <= grd_pkglst.rows ; i++){
- grd_pkglst.isReadOnly(i, grd_pkglst.colRef("sel")) = false;
- for (j=1 ; j<grd_addlst.rows ; j++) {
- if (grd_addlst.valueMatrix(j,grd_addlst.colRef("pkgcd")) == grd_pkglst.valueMatrix(i,grd_pkglst.colRef("pkgcd"))){
- grd_pkglst.valueMatrix(i,grd_pkglst.colRef("sel")) = "Y";
- grd_pkglst.isReadOnly(i, grd_pkglst.colRef("sel")) = true;
- }
- }
- }
- ]]>
- </script>
- </select1>
- <input id="ipt_tagno" ref="/root/main/info/taginfo/tagno" class="input_default" format="999" style="left:719px; top:85px; width:64px; height:19px; ">
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setValue("/root/send/srchtagno",model.getValue("/root/main/info/taginfo/tagno"));
- model.setValue("/root/send/srchhealexamplacecd" , model.getValue("/root/main/info/rsrvacptinfo/item/healexamplacecd"));
- //var ret = submit("TRAHA00114",false); 2008-06-12 이성인
- var ret = submit("TRAHA00114",false);
- if(ret) {
- var tagstat = model.getValue("/root/tag/taginfo/tagstat");
- if(tagstat == "0") {
- var tagno = model.getValue("/root/main/info/taginfo/tagno");
- var vb = messageBox("["+ tagno +"]태그는 이미 지급된 태급입니다.\n 반납" , "S001" );
- if(6 == vb ) {
- model.makeValue("/root/send/taginfo/tagflag" ,"R");
- model.makeValue("/root/send/taginfo/tagno" ,model.getValue("/root/main/info/taginfo/tagno"));
- model.makeValue("/root/send/taginfo/instcd" ,getUserInfo("dutplceinstcd"));
- model.makeValue("/root/send/taginfo/healexamplacecd" , model.getValue("/root/main/info/rsrvacptinfo/item/healexamplacecd"));
- // if(submit("TXAHA00109",false)) { 2008-06-12 이성인
- if(submit("TXAHA00109",false)) {
- btn_tag.attribute("text") = "태그지급";
- ipt_tagno.value = "";
- }
- }else if(7 == vb || 2 == vb) {
- ipt_tagno.value = "";
- model.setFocus("ipt_tagno");
- }
- }
- }
- ipt_tagno.refresh();
- ]]>
- </script>
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13 ){
-
- }
- ]]>
- </script>
- </input>
- <caption id="caption10" class="cell_1" style="left:661px; top:83px; width:55px; height:23px; vertical-align:middle; ">태그번호</caption>
- <button id="button3" class="btn2_letter4" style="left:785px; top:85px; width:64px; height:19px; ">
- <caption>태그지급</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- var suppStat = model.getValue("/root/tag/taginfo/tagstat");
- var tagno = model.getValue("/root/main/info/taginfo/tagno");
- var statFlag = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
- var healexamplacecd = model.getValue("/root/main/info/rsrvacptinfo/item/healexamplacecd");
-
- if(suppStat == "") {
- suppStat = model.getValue("/root/main/info/taginfo/suppstat");
- }
-
- if("0" == suppStat) {
- if(6 == messageBox("[" + tagno + "]태그 반납을", "Q004")) {
- model.makeValue("/root/send/taginfo/tagflag" ,"R");
- model.makeValue("/root/send/taginfo/tagno" ,model.getValue("/root/main/info/taginfo/tagno") );
- model.makeValue("/root/send/taginfo/healexamplacecd" ,model.getValue("/root/main/info/taginfo/healexamplacecd") );
- model.makeValue("/root/send/taginfo/instcd" ,getUserInfo("dutplceinstcd") );
- if(submit("TXAHA00109")) {
- btn_tag.attribute("text") = "태그지급";
- ipt_tagno.value = "";
- ipt_tagno.disabled = false;
- }
- }
- }else {
- if(statFlag < "E") {
- messageBox("접수 전에 태그를 지급", "E001");
- return;
- }
- if(tagno == "") {
- messageBox("태그번호를","C001");
- return;
- }
- if(messageBox("["+tagno+"]태그 지급을","Q004")) {
- model.makeValue("/root/send/taginfo/tagflag" ,"P");
- model.makeValue("/root/send/taginfo/rsrvdd" ,model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd"));
- model.makeValue("/root/send/taginfo/rsrvno" ,model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno"));
- model.makeValue("/root/send/taginfo/pid" ,model.getValue("/root/main/info/rsrvacptinfo/item/pid"));
- model.makeValue("/root/send/taginfo/orddd" ,model.getValue("/root/main/info/rsrvacptinfo/item/orddd"));
- model.makeValue("/root/send/taginfo/healexamdetlflag" ,model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag"));
- model.makeValue("/root/send/taginfo/tagno" ,model.getValue("/root/main/info/taginfo/tagno"));
- model.makeValue("/root/send/taginfo/instcd" ,getUserInfo("posinstcd") );
- if(submit("TXAHA00109")) {
- btn_tag.attribute("text") = "태그반납";
- ipt_tagno.disabled = true;
- }
- }
- }
- ipt_tagno.refresh();
- ]]>
- </script>
- </button>
- <switch id="switch1" style="left:860px; top:449px; width:329px; height:105px; ">
- <case id="case_judg" selected="true">
- <datagrid id="datagrid6" nodeset="/root/main/info/judgone" caption="판정^판정코드^판정명^2차재검코드" colsep="^" colwidth="62, 19, 123, 100" mergecellsfixedrows="bycolrec" rowsep="|" style="left:5px; top:5px; width:317px; height:93px; ">
- <col ref="judgcd"/>
- <col ref="judgdetlcd"/>
- <col ref="etcdetlnm"/>
- <col ref="dulppkgcd" type="input"/>
- </datagrid>
- </case>
- <case id="case_cnst">
- <caption id="caption40" class="cell_1" style="left:4px; top:26px; width:92px; height:23px; vertical-align:middle; ">외 래 여 부</caption>
- <button id="btn_saversrvinfo" class="btn5_letter6" style="left:238px; top:4px; width:86px; height:19px; ">
- <caption>예약정보저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveRsrvInfo();
- ]]>
- </script>
- </button>
- <caption id="cap_rsltcnstflag" class="cell_1" style="left:4px; top:52px; width:92px; height:23px; vertical-align:middle; ">결 과 상 담</caption>
- <select1 id="cmb_rsltcnstlst" ref="/root/main/info/rsltcnstinfo/choicnst/rsltrsrvid" appearance="minimal" style="left:98px; top:80px; width:226px; height:19px; ">
- <choices>
- <itemset nodeset="/root/main/info/rsltcnstinfo/cnstlst/cnst">
- <label ref="rsltrsrvnm"/>
- <value ref="rsltrsrvid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- var idx = cmb_rsltcnstlst.focusIndex;
- copyNodesetType("/root/main/info/rsltcnstinfo/choicnst" , "/root/main/info/rsltcnstinfo/cnstlst/cnst[" + (idx + 1) + "]" , "replace");
- var rsltRsrvId = model.getValue("/root/main/info/rsltcnstinfo/choicnst/rsltrsrvid");
-
- // 기존 내역을 선택 했을경우에는 조회만 가능
- if(rsltRsrvId == "-" || rsltRsrvId == "") {
- rdo_outexamyn.disabled = false;
- cmb_rsltcnstflag.disabled = false;
- btn_rsltcnstrsrv.disabled = false;
- btn_rsltcnstrsrvcncl.disabled = true;
- }else {
- rdo_outexamyn.disabled = true;
- cmb_rsltcnstflag.disabled = true;
- btn_rsltcnstrsrv.disabled = true;
- btn_rsltcnstrsrvcncl.disabled = false;
- }
-
- model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="rdo_outexamyn" ref="/root/main/info/rsltcnstinfo/choicnst/outexamyn" appearance="full" cols="2" overflow="visible" style="left:98px; top:28px; width:138px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>건진외래</label>
- <value>Y</value>
- </item>
- <item>
- <label>결과상담</label>
- <value>N</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /*
- * 최초이력:2009-03-13
- * 건진외래와 현재 시점은 연동시간은 연동되지 않음 인원 캐파만 잡음
- * 외래 검사 일경우는 내부검사 결과상담의 구분을 미선택 하며 비활성화 시킨다.
- */
- var outexamyn = rdo_outexamyn.value;
- if(outexamyn == "Y") {
- cmb_rsltcnstflag.select(0);
- cmb_rsltcnstflag.disabled = true;
- btn_rsltcnstrsrv.disabled = false;
- }else if(outexamyn == "N"){
- cmb_rsltcnstflag.disabled = false;
- }
- ]]>
- </script>
- </select1>
- <select1 id="cmb_rsltcnstflag" ref="/root/main/info/rsltcnstinfo/choicnst/rsltcnstflag" class="combo_essential" appearance="minimal" style="left:98px; top:54px; width:93px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/rsltcnstflaglst/S080">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /*
- * 최초이력:2009-03-13
- * 내부검사 선택 시에만 활성화 되며 내부상담 시 1회로 제한다.
- * 결과상담 구분은 우편을 제외 한 모둔 구분은 상담 시간을 잡는다.
- * 건진 공통코드의 cmt의 상태가 Y 일경우 상담예약 팝업을 띄우면 N경우 화면은 띄우지 않으며 상담예약 버튼은 비활성 시킨다.
- */
- /*
- var nodeList = instance1.selectNodes("/root/init/baseinfo/rsltcnstflaglst/S080");
- var idx = cmb_rsltcnstflag.focusIndex;
- // 공통코드의 비고
- var cmt = nodeList.item(idx).cmt.text;
-
- if(cmt == "Y") {
- btn_rsltcnstrsrv.disabled = false;
- }else if (cmt == "N") {
- btn_rsltcnstrsrv.disabled = true;
- }*/
- ]]>
- </script>
- </select1>
- <caption id="caption8" class="cell_1" style="left:4px; top:78px; width:92px; height:23px; vertical-align:middle; ">결과상담예약일</caption>
- <button id="btn_rsltcnstrsrvcncl" class="btn2_letter4" style="left:260px; top:54px; width:64px; height:19px; ">
- <caption>상담취소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetRsltRsrvDateTime("d");
- cmb_rsltcnstlst.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_rsltcnstrsrv" class="btn2_letter4" style="left:193px; top:54px; width:64px; height:19px; ">
- <caption>상담예약</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetRsltRsrvDateTime("i");
- cmb_rsltcnstlst.refresh();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_2" style="x1:4px; y1:76px; x2:323px; y2:76px; "/>
- <line id="line14" class="line_2" style="x1:4px; y1:50px; x2:323px; y2:50px; "/>
- <line id="line15" class="line_2" style="x1:4px; y1:24px; x2:323px; y2:24px; "/>
- </case>
- </switch>
- <button id="btn_fstjudg" class="btn_sw" group="tab_2" style="left:861px; top:428px; width:84px; height:22px; ">
- <caption>1차판정조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_judg");
- btn_fstjudg.selected = true;
- ]]>
- </script>
- </button>
- <button id="btn_cnst" class="btn_sw" group="tab_2" style="left:945px; top:428px; width:84px; height:22px; ">
- <caption>결과상담관리</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.toggle("case_cnst");
- btn_cnst.selected = true;
- ]]>
- </script>
- </button>
- <output id="dcamt" ref="/root/main/info/rsrvacptinfo/item/dcamt" class="output_fix" style="left:780px; top:450px; width:30px; height:19px; "/>
- <output id="adddcamt" ref="/root/main/info/rsrvacptinfo/item/adddcamt" class="output_fix" style="left:820px; top:450px; width:30px; height:19px; "/>
- <caption id="caption9" style="left:811px; top:450px; width:10px; height:20px; ">/</caption>
- <select1 id="rdo_healexamagryn" ref="/root/main/info/rsrvacptinfo/item/healexamagryn" appearance="full" cols="2" overflow="visible" style="left:445px; top:500px; width:130px; height:23px; border-style:none; ">
- <choices>
- <item>
- <label>동의함</label>
- <value>Y</value>
- </item>
- <item>
- <label>동의안함</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption4" class="cell_1" style="left:580px; top:500px; width:135px; height:23px; vertical-align:middle; ">암검진 결과활용동의</caption>
- <select1 id="rdo_canceragryn" ref="/root/main/info/rsrvacptinfo/item/canceragryn" appearance="full" cols="2" overflow="visible" style="left:720px; top:500px; width:130px; height:23px; border-style:none; ">
- <choices>
- <item>
- <label>동의함</label>
- <value>Y</value>
- </item>
- <item>
- <label>동의안함</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- <caption id="caption11" class="cell_1" style="left:580px; top:527px; width:135px; height:23px; vertical-align:middle; ">구강검진 결과활용동의</caption>
- <select1 id="rdo_oralagryn" ref="/root/main/info/rsrvacptinfo/item/oralagryn" appearance="full" cols="2" overflow="visible" style="left:720px; top:526px; width:130px; height:23px; border-style:none; ">
- <choices>
- <item>
- <label>동의함</label>
- <value>Y</value>
- </item>
- <item>
- <label>동의안함</label>
- <value>N</value>
- </item>
- </choices>
- </select1>
- </xhtml:body>
- </xhtml:html>
|